postgreSQL官网教程_修改数据
1.insert

2.postgreSQL中修改都有一个子函数returning 来返回最后一个插入的数据字段

3.update 通过from 可以关联其他表进行操作

4.upsert(合并)更新或者插入,如果on conflict 绑定的字段已经存在,那么do之后做update还是nothing都行

1.insert

2.postgreSQL中修改都有一个子函数returning 来返回最后一个插入的数据字段

3.update 通过from 可以关联其他表进行操作

4.upsert(合并)更新或者插入,如果on conflict 绑定的字段已经存在,那么do之后做update还是nothing都行
