01 2022 档案

摘要:1. 问题背景数据表中插入了几条测试数据,后又手动删除,导致后面插入数据的时候报主键冲突: ERROR: duplicate key value violates unique constraint "tableName_pkey" DETAIL: Key (id)=(1) already exis 阅读全文
posted @ 2022-01-18 10:54 hubb 阅读(2465) 评论(0) 推荐(0)
摘要://postgres.Jsonb 处理 type homeWorkQuestionIds struct { QuestionIDs postgres.Jsonb `json:"question_ids"` } var homeworkRes []homeWorkQuestionIds db.Mode 阅读全文
posted @ 2022-01-05 15:09 hubb 阅读(46) 评论(0) 推荐(0)