使用临时表 save 以解决 on conflict 造成的 id 占用问题
This commit is contained in:
@@ -26,7 +26,9 @@ func main() {
|
||||
defer clients.CloseRedis()
|
||||
|
||||
// 测试功能
|
||||
actions.Update(actions.UpdateArgs{
|
||||
Mock: true,
|
||||
})
|
||||
// actions.Update(actions.UpdateArgs{
|
||||
// Mock: true,
|
||||
// })
|
||||
|
||||
actions.Sync()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user