The implementation of the sqlite3 dialect (dialect/sqlite3/sqlite3.go) configures opts.SupportsReturn = false. However, the SQLite driver does support RETURNING (see docs), which can easily be verified by dropping to the default dialect while using an SQLite3 database.
The implementation of the
sqlite3
dialect (dialect/sqlite3/sqlite3.go
) configuresopts.SupportsReturn = false
. However, the SQLite driver does supportRETURNING
(see docs), which can easily be verified by dropping to the default dialect while using an SQLite3 database.Dialect: