| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | add Store.Upsert() | Stefan Majewsky | 2026-04-24 | 4 | -11/+188 |
| | | |||||
| * | exclude testhelpers from coverage testing | Stefan Majewsky | 2026-04-24 | 9 | -11/+11 |
| | | |||||
| * | remove support for SQL dialects that rely on LastInsertId() | Stefan Majewsky | 2026-04-24 | 6 | -338/+122 |
| | | | | | | | | | | | 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 Majewsky | 2026-04-23 | 3 | -4/+99 |
| | | |||||
| * | change Store.Insert() to take arguments by pointer | Stefan Majewsky | 2026-04-19 | 4 | -42/+52 |
| | | | | | | | | | 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. | ||||
| * | notes from trying Oblast in https://github.com/sapcc/castellum | Stefan Majewsky | 2026-04-18 | 1 | -0/+2 |
| | | |||||
| * | README: refer to GitHub mirror | Stefan Majewsky | 2026-04-18 | 1 | -0/+6 |
| | | |||||
| * | v0.2.0v0.2.0 | Stefan Majewsky | 2026-04-18 | 1 | -1/+1 |
| | | |||||
| * | add StructTagKeyIs | Stefan Majewsky | 2026-04-18 | 4 | -10/+31 |
| | | | | | | 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 |
| | | |||||
| * | add type PreparedSelectQuery | Stefan Majewsky | 2026-04-18 | 4 | -24/+205 |
| | | |||||
| * | update repo description | Stefan Majewsky | 2026-04-18 | 1 | -1/+1 |
| | | |||||
| * | write out a proper README | Stefan Majewsky | 2026-04-18 | 2 | -5/+38 |
| | | |||||
| * | fix Store.Insert() failing on tables without auto columns | Stefan Majewsky | 2026-04-18 | 2 | -15/+68 |
| | | |||||
| * | more test coverage, forbid non-zero auto columns during Insert() | Stefan Majewsky | 2026-04-18 | 4 | -24/+264 |
| | | |||||
| * | add TODOs for the remaining things that I want for 1.0 | Stefan Majewsky | 2026-04-17 | 2 | -0/+4 |
| | | |||||
| * | benchmark: add Gorm | Stefan Majewsky | 2026-04-17 | 4 | -37/+126 |
| | | |||||
| * | minimize function bodies for generic Insert function(s) | Stefan Majewsky | 2026-04-17 | 1 | -37/+78 |
| | | |||||
| * | Makefile: add benchmark target | Stefan Majewsky | 2026-04-17 | 1 | -0/+3 |
| | | |||||
| * | remove more instances of defer() | Stefan Majewsky | 2026-04-17 | 2 | -12/+8 |
| | | |||||
| * | 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 | 3 | -3/+155 |
| | | |||||
| * | improve test coverage, error reporting for Select() | Stefan Majewsky | 2026-04-17 | 7 | -106/+242 |
| | | |||||
| * | fix lints | Stefan Majewsky | 2026-04-17 | 1 | -1/+1 |
| | | |||||
| * | add Store.Update() | Stefan Majewsky | 2026-04-16 | 3 | -7/+181 |
| | | |||||
| * | add PrepareThreshold tuning parameter | Stefan Majewsky | 2026-04-16 | 2 | -16/+49 |
| | | |||||
| * | benchmark: compare batches of prepared vs. one-off statements | Stefan Majewsky | 2026-04-16 | 1 | -57/+103 |
| | | |||||
| * | take non-pointer records on Insert() | Stefan Majewsky | 2026-04-16 | 2 | -11/+13 |
| | | |||||
| * | increase test coverage for planning | Stefan Majewsky | 2026-04-15 | 4 | -18/+156 |
| | | |||||
| * | before scanning, spawn member structs within pointers as necessary | Stefan Majewsky | 2026-04-15 | 4 | -5/+106 |
| | | |||||
| * | clarify behavior around recursing into struct type members | Stefan Majewsky | 2026-04-15 | 4 | -56/+137 |
| | | |||||
| * | add MysqlDialect | Stefan Majewsky | 2026-04-14 | 2 | -0/+75 |
| | | |||||
| * | fold package internal into package oblast | Stefan Majewsky | 2026-04-14 | 7 | -124/+101 |
| | | |||||
| * | initial test coverage for Store.Select functions | Stefan Majewsky | 2026-04-14 | 7 | -31/+263 |
| | | |||||
| * | add mock SQL driver for tests | Stefan Majewsky | 2026-04-13 | 1 | -0/+300 |
| | | | | | Ironically, not tested yet. | ||||
| * | reduce code duplication in benchmark tests | Stefan Majewsky | 2026-04-13 | 2 | -104/+54 |
| | | |||||
| * | add initial sketches for Store.Insert, Store.Update | Stefan Majewsky | 2026-04-12 | 7 | -101/+390 |
| | | | | | Currently extremely bad performance for some reason. Need to investigate. | ||||
| * | add Store.SelectWhere, Store.SelectOneWhere | Stefan Majewsky | 2026-04-12 | 4 | -11/+158 |
| | | |||||
| * | add Store.SelectOne | Stefan Majewsky | 2026-04-12 | 5 | -20/+141 |
| | | |||||
| * | add Handle interface | Stefan Majewsky | 2026-04-12 | 2 | -4/+22 |
| | | |||||
| * | reorganize the API from type DB to type Store | Stefan Majewsky | 2026-04-11 | 9 | -239/+204 |
| | | |||||
| * | BenchmarkSelect: test N=1/10/100/1000 all at once | Stefan Majewsky | 2026-04-11 | 1 | -78/+81 |
| | | |||||
| * | many more tests for query planning | Stefan Majewsky | 2026-04-11 | 2 | -21/+176 |
| | | |||||
| * | reduce function body of Select() further, add context to errors | Stefan Majewsky | 2026-04-11 | 2 | -15/+35 |
| | | |||||
| * | use reflect.VisibleFields() | Stefan Majewsky | 2026-04-11 | 1 | -25/+9 |
| | | |||||
| * | reduce function body of Select() | Stefan Majewsky | 2026-04-11 | 2 | -18/+46 |
| | | |||||
| * | say no to ctx | Stefan Majewsky | 2026-04-11 | 3 | -4/+10 |
| | | |||||
| * | move Select() to separate file | Stefan Majewsky | 2026-04-10 | 2 | -50/+58 |
| | | |||||
| * | generate INSERT/UPDATE/DELETE queries during BuildPlan | Stefan Majewsky | 2026-04-10 | 4 | -46/+188 |
| | | |||||
