aboutsummaryrefslogtreecommitdiff
path: root/dialect.go
Commit message (Collapse)AuthorAgeFilesLines
* bring back support for LastInsertId-based INSERTStefan Majewsky2026-05-221-0/+23
| | | | | | As the remaining TODO noted, this really is much more memory-efficient than QueryRow when we can use it, since it does not allocate an *sql.Rows instance inside the *sql.Row instance where we call Scan().
* add escaping in Dialect.QuoteIdentifier implementationsStefan Majewsky2026-05-121-6/+22
|
* clarify docstrings, put down TODOs based on review feedbackStefan Majewsky2026-05-121-2/+2
|
* remove support for SQL dialects that rely on LastInsertId()Stefan Majewsky2026-04-241-35/+16
| | | | | | | | | | 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.
* add query planning for Upsert()Stefan Majewsky2026-04-231-2/+43
|
* add MysqlDialectStefan Majewsky2026-04-141-0/+12
|
* fold package internal into package oblastStefan Majewsky2026-04-141-3/+27
|
* generate INSERT/UPDATE/DELETE queries during BuildPlanStefan Majewsky2026-04-101-0/+1
|
* reorganize codeStefan Majewsky2026-04-101-27/+3
|
* start reflecting on types to build a query planStefan Majewsky2026-04-101-0/+70