aboutsummaryrefslogtreecommitdiff
path: root/query_test.go
Commit message (Collapse)AuthorAgeFilesLines
* change Store.Insert() to take arguments by pointerStefan Majewsky2026-04-191-27/+30
| | | | | | | | This increases memory overhead slightly, but when converting Gorp uses into Oblast, I saw that there is a legitimate risk of just ignoring the result value and continuing with the unupdated records. So according to the design priorities that I myself laid down, I'm sacrificing some performance for safety of use.
* add StructTagKeyIsStefan Majewsky2026-04-181-2/+3
| | | | | Forgot this in 0.1.0. Without this, I cannot migrate existing Gorp users because Gorp does not understand `db:",auto"`.
* fix Store.Insert() failing on tables without auto columnsStefan Majewsky2026-04-181-0/+45
|
* more test coverage, forbid non-zero auto columns during Insert()Stefan Majewsky2026-04-181-5/+196
|
* add TODOs for the remaining things that I want for 1.0Stefan Majewsky2026-04-171-0/+2
|
* basic test coverage for Insert, Update, DeleteStefan Majewsky2026-04-171-0/+137