| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Insert, Upsert, Update, Delete: do not panic on indirection through nil pointer | Stefan Majewsky | 2026-05-13 | 1 | -14/+53 |
| | | |||||
| * | clarify docstrings, put down TODOs based on review feedback | Stefan Majewsky | 2026-05-12 | 1 | -1/+6 |
| | | |||||
| * | change Handle to a generic interface without explicit dep on database/sql | Stefan Majewsky | 2026-05-12 | 1 | -50/+15 |
| | | |||||
| * | add ctx arguments to most methods | Stefan Majewsky | 2026-04-30 | 1 | -36/+37 |
| | | |||||
| * | shave off some more allocations | Stefan Majewsky | 2026-04-30 | 1 | -5/+5 |
| | | |||||
| * | note to self: bad memory usage stats for Insert() | Stefan Majewsky | 2026-04-24 | 1 | -0/+1 |
| | | |||||
| * | add Store.Upsert() | Stefan Majewsky | 2026-04-24 | 1 | -2/+90 |
| | | |||||
| * | remove support for SQL dialects that rely on LastInsertId() | Stefan Majewsky | 2026-04-24 | 1 | -80/+11 |
| | | | | | | | | | | | 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. | ||||
| * | change Store.Insert() to take arguments by pointer | Stefan Majewsky | 2026-04-19 | 1 | -12/+11 |
| | | | | | | | | | 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. | ||||
| * | fix Store.Insert() failing on tables without auto columns | Stefan Majewsky | 2026-04-18 | 1 | -15/+23 |
| | | |||||
| * | more test coverage, forbid non-zero auto columns during Insert() | Stefan Majewsky | 2026-04-18 | 1 | -3/+15 |
| | | |||||
| * | minimize function bodies for generic Insert function(s) | Stefan Majewsky | 2026-04-17 | 1 | -37/+78 |
| | | |||||
| * | remove more instances of defer() | Stefan Majewsky | 2026-04-17 | 1 | -2/+2 |
| | | |||||
| * | reduce function body size for Update(), Delete() | Stefan Majewsky | 2026-04-17 | 1 | -49/+54 |
| | | |||||
| * | add type preparedStatement to simplify write ops | Stefan Majewsky | 2026-04-17 | 1 | -60/+65 |
| | | |||||
| * | basic test coverage for Insert, Update, Delete | Stefan Majewsky | 2026-04-17 | 1 | -2/+7 |
| | | |||||
| * | improve test coverage, error reporting for Select() | Stefan Majewsky | 2026-04-17 | 1 | -3/+3 |
| | | |||||
| * | add Store.Update() | Stefan Majewsky | 2026-04-16 | 1 | -1/+53 |
| | | |||||
| * | add PrepareThreshold tuning parameter | Stefan Majewsky | 2026-04-16 | 1 | -15/+49 |
| | | |||||
| * | take non-pointer records on Insert() | Stefan Majewsky | 2026-04-16 | 1 | -10/+11 |
| | | |||||
| * | add initial sketches for Store.Insert, Store.Update | Stefan Majewsky | 2026-04-12 | 1 | -0/+120 |
| | | | | | Currently extremely bad performance for some reason. Need to investigate. | ||||
| * | add Store.SelectOne | Stefan Majewsky | 2026-04-12 | 1 | -92/+0 |
| | | |||||
| * | add Handle interface | Stefan Majewsky | 2026-04-12 | 1 | -3/+2 |
| | | |||||
| * | reorganize the API from type DB to type Store | Stefan Majewsky | 2026-04-11 | 1 | -11/+8 |
| | | |||||
| * | reduce function body of Select() further, add context to errors | Stefan Majewsky | 2026-04-11 | 1 | -14/+32 |
| | | |||||
| * | reduce function body of Select() | Stefan Majewsky | 2026-04-11 | 1 | -16/+37 |
| | | |||||
| * | say no to ctx | Stefan Majewsky | 2026-04-11 | 1 | -2/+1 |
| | | |||||
| * | move Select() to separate file | Stefan Majewsky | 2026-04-10 | 1 | -0/+58 |
