摘要: 1.insert 2.postgreSQL中修改都有一个子函数returning 来返回最后一个插入的数据字段 3.update 通过from 可以关联其他表进行操作 4.upsert(合并)更新或者插入,如果on conflict 绑定的字段已经存在,那么do之后做update还是nothing都 阅读全文
posted @ 2018-12-07 11:47 eros_token 阅读(655) 评论(0) 推荐(0) 编辑