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