aboutsummaryrefslogtreecommitdiff
path: root/internal/mock/mock.go
diff options
context:
space:
mode:
authorStefan Majewsky <majewsky@gmx.net>2026-04-24 15:41:00 +0200
committerStefan Majewsky <majewsky@gmx.net>2026-04-24 15:41:00 +0200
commit027641ef9efec9ed5dfc463d9c2f38c32716d9b5 (patch)
treef49025c72334b8e1c91cf1c4038ff7ae0e10ed11 /internal/mock/mock.go
parent9749eb317d39caa794cc27ef954656167cac487a (diff)
downloadgo-oblast-027641ef9efec9ed5dfc463d9c2f38c32716d9b5.tar.gz
remove support for SQL dialects that rely on LastInsertId()
While researching for Upsert(), I noticed that both SQLite and MariaDB support INSERT with RETURNING clause, which is objectively better than LastInsertId() and cuts out a lot of useless crap from the codebase (esp. from monomorphization-relevant methods). The only tangible downside is that this drops support specifically for MySQL, but you know what? Fuck Oracle.
Diffstat (limited to 'internal/mock/mock.go')
0 files changed, 0 insertions, 0 deletions