mirror of
https://gitee.com/johng/gf
synced 2026-07-07 06:15:15 +08:00
390 B
390 B
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.