mirror of
https://gitee.com/johng/gf
synced 2026-07-08 14:39:50 +08:00
4 lines
390 B
Markdown
4 lines
390 B
Markdown
# SQLite Save Primary Conflict
|
|
|
|
SQLite `Save` currently requires callers to specify `OnConflict(...)` explicitly, even when the target table has a primary key and the save data includes that primary key. This change aligns the SQLite and SQLiteCGO drivers with other upsert-capable drivers by automatically using table primary keys as the conflict target when `OnConflict(...)` is omitted.
|