aboutsummaryrefslogtreecommitdiff
path: root/select.go
Commit message (Collapse)AuthorAgeFilesLines
* Insert, Upsert, Update, Delete: do not panic on indirection through nil pointerStefan Majewsky2026-05-131-4/+4
|
* change Handle to a generic interface without explicit dep on database/sqlStefan Majewsky2026-05-121-6/+12
|
* allow both None or ErrNoRows in SelectOne{,Where}Stefan Majewsky2026-05-081-20/+48
| | | | | | | | | The None-returning style is more convenient when the application needs to genuinely behave differently in this case, e.g. returning 404 from an HTTP API endpoint (instead of 500 for a generic database error). The ErrNoRows-returning style is more convenient when control flow is not different for this case vs. other error cases.
* return None instead of ErrNoRows from SelectOne{,Where}Stefan Majewsky2026-05-041-18/+38
|
* shave an allocation and memcpy from Select() and SelectWhere()Stefan Majewsky2026-04-301-9/+36
|
* add ctx arguments to most methodsStefan Majewsky2026-04-301-20/+21
|
* add type PreparedSelectQueryStefan Majewsky2026-04-181-2/+73
|
* add TODOs for the remaining things that I want for 1.0Stefan Majewsky2026-04-171-0/+2
|
* remove more instances of defer()Stefan Majewsky2026-04-171-10/+6
|
* improve test coverage, error reporting for Select()Stefan Majewsky2026-04-171-27/+16
|
* before scanning, spawn member structs within pointers as necessaryStefan Majewsky2026-04-151-3/+11
|
* fold package internal into package oblastStefan Majewsky2026-04-141-5/+3
|
* initial test coverage for Store.Select functionsStefan Majewsky2026-04-141-19/+12
|
* add initial sketches for Store.Insert, Store.UpdateStefan Majewsky2026-04-121-10/+10
| | | | Currently extremely bad performance for some reason. Need to investigate.
* add Store.SelectWhere, Store.SelectOneWhereStefan Majewsky2026-04-121-2/+75
|
* add Store.SelectOneStefan Majewsky2026-04-121-0/+122