| 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 | -0/+7 |
| | | |||||
| * | v0.7.0v0.7.0 | Stefan Majewsky | 2026-05-12 | 1 | -1/+1 |
| | | |||||
| * | add escaping in Dialect.QuoteIdentifier implementations | Stefan Majewsky | 2026-05-12 | 1 | -0/+4 |
| | | |||||
| * | change Handle to a generic interface without explicit dep on database/sql | Stefan Majewsky | 2026-05-12 | 1 | -0/+11 |
| | | |||||
| * | v0.6.0v0.6.0 | Stefan Majewsky | 2026-05-08 | 1 | -1/+1 |
| | | |||||
| * | add type RuntimeIndex | Stefan Majewsky | 2026-05-08 | 1 | -0/+6 |
| | | |||||
| * | v0.5.0v0.5.0 | Stefan Majewsky | 2026-05-08 | 1 | -1/+1 |
| | | |||||
| * | allow both None or ErrNoRows in SelectOne{,Where} | Stefan Majewsky | 2026-05-08 | 1 | -0/+7 |
| | | | | | | | | | | 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. | ||||
| * | v0.4.0v0.4.0 | Stefan Majewsky | 2026-05-04 | 1 | -1/+1 |
| | | |||||
| * | return None instead of ErrNoRows from SelectOne{,Where} | Stefan Majewsky | 2026-05-04 | 1 | -0/+6 |
| | | |||||
| * | v0.3.0v0.3.0 | Stefan Majewsky | 2026-04-30 | 1 | -1/+1 |
| | | |||||
| * | shave an allocation and memcpy from Select() and SelectWhere() | Stefan Majewsky | 2026-04-30 | 1 | -2/+6 |
| | | |||||
| * | add ctx arguments to most methods | Stefan Majewsky | 2026-04-30 | 1 | -1/+4 |
| | | |||||
| * | add Store.Upsert() | Stefan Majewsky | 2026-04-24 | 1 | -1/+2 |
| | | |||||
| * | remove support for SQL dialects that rely on LastInsertId() | Stefan Majewsky | 2026-04-24 | 1 | -0/+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. | ||||
| * | v0.2.0v0.2.0 | Stefan Majewsky | 2026-04-18 | 1 | -1/+1 |
| | | |||||
| * | add StructTagKeyIs | Stefan Majewsky | 2026-04-18 | 1 | -0/+6 |
| | | | | | | Forgot this in 0.1.0. Without this, I cannot migrate existing Gorp users because Gorp does not understand `db:",auto"`. | ||||
| * | v0.1.0v0.1.0 | Stefan Majewsky | 2026-04-18 | 1 | -0/+9 |
