| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | ci: disable the bundled test on Debian | 2021-01-09 | 1 | -3/+5 | |
| | | |||||
| * | ci: test with the bundled source too | 2021-01-09 | 3 | -0/+12 | |
| | | |||||
| * | bundle the sqlite amalgamation | 2021-01-09 | 2 | -0/+243991 | |
| | | |||||
| * | allow building with the bundled sqlite source code | 2021-01-09 | 1 | -9/+29 | |
| | | |||||
| * | readme: update type mappings rules | 2021-01-06 | 1 | -2/+5 | |
| | | |||||
| * | Merge pull request #15 from vrischmann/optional | 2021-01-06 | 1 | -1/+58 | |
| |\ | | | | | Optional | ||||
| | * | allow binding and reading optionals | 2021-01-06 | 1 | -2/+32 | |
| | | | | | | | | | Also allow binding the '(null)' value. | ||||
| | * | add a test for optionals | 2021-01-06 | 1 | -0/+27 | |
| | | | |||||
| | * | fix compile error in readField | 2021-01-06 | 1 | -1/+1 | |
| |/ | |||||
| * | Merge pull request #12 from vrischmann/read-pointers | 2021-01-06 | 2 | -33/+80 | |
| |\ | | | | | Read pointers | ||||
| | * | readme: mention that pointers are allowed | 2021-01-06 | 1 | -0/+2 | |
| | | | |||||
| | * | add a test that reads only pointers | 2021-01-06 | 1 | -0/+35 | |
| | | | |||||
| | * | implement reading a value into a one-element pointer | 2021-01-06 | 1 | -1/+6 | |
| | | | |||||
| | * | add readField | 2021-01-06 | 1 | -15/+20 | |
| | | | |||||
| | * | reorder fields to workaround a compiler bug | 2021-01-06 | 1 | -17/+17 | |
| | | | |||||
| * | | ci: aarch64 builds are super slow, don't do them twice | 2021-01-06 | 1 | -4/+0 | |
| |/ | |||||
| * | fix typo in readme | 2021-01-05 | 1 | -1/+1 | |
| | | |||||
| * | fix readme | 2021-01-05 | 1 | -1/+1 | |
| | | |||||
| * | Merge pull request #14 from Sobeston/patch-1 | 2021-01-05 | 1 | -1/+1 | |
| |\ | | | | | logging file open {} -> {s} | ||||
| | * | logging file open {} -> {s} | 2021-01-05 | 1 | -1/+1 | |
| |/ | |||||
| * | convert {} to {s} or {d} | 2021-01-03 | 2 | -5/+5 | |
| | | |||||
| * | readme: remove obsolete statement | 2021-01-03 | 1 | -1/+1 | |
| | | |||||
| * | readme: fix code examples | 2021-01-03 | 1 | -8/+10 | |
| | | |||||
| * | add a test for binding a .One pointer | 2021-01-02 | 1 | -0/+22 | |
| | | |||||
| * | Merge pull request #13 from vrischmann/bind-string-literal | 2021-01-02 | 1 | -3/+27 | |
| |\ | | | | | Bind string literal | ||||
| | * | stop special casing []const u8 and []u8, do it in the .Pointer switch arm | 2021-01-02 | 1 | -3/+6 | |
| | | | |||||
| | * | allow binding a pointer | 2021-01-02 | 1 | -0/+1 | |
| | | | |||||
| | * | add a test that binds a string literal | 2021-01-02 | 1 | -0/+20 | |
| |/ | |||||
| * | add bindField | 2021-01-02 | 1 | -24/+31 | |
| | | |||||
| * | fix the comment on Stmt.one and Stmt.all | 2021-01-02 | 1 | -3/+1 | |
| | | |||||
| * | fix compile error | 2021-01-01 | 1 | -1/+1 | |
| | | |||||
| * | check the weight field too | 2021-01-01 | 1 | -0/+1 | |
| | | |||||
| * | Merge branch 'statement-reuse' | 2021-01-01 | 1 | -0/+21 | |
| |\ | |||||
| | * | readme: document statement reuse | 2021-01-01 | 1 | -0/+21 | |
| |/ | | | | Fixes #3 | ||||
| * | build: set the target | 2020-12-31 | 1 | -0/+3 | |
| | | |||||
| * | Merge pull request #11 from vrischmann/map-errors | 2020-12-31 | 2 | -10/+277 | |
| |\ | | | | | Map errors | ||||
| | * | fix error checks based on the sqlite version | 2020-12-31 | 1 | -10/+38 | |
| | | | |||||
| | * | fix tests with the new errors | 2020-12-31 | 1 | -2/+2 | |
| | | | |||||
| | * | add proper error types | 2020-12-31 | 2 | -8/+247 | |
| |/ | | | | | | | * Add SQLiteError and various SQLiteExtendedXYZError * Replace old errors with the SQLite ones where appropriate Fixes #8 | ||||
| * | Merge pull request #9 from vrischmann/split-alloc | 2020-12-31 | 2 | -168/+331 | |
| |\ | | | | | Split allocating from non-allocating methods | ||||
| | * | fix readme | 2020-12-31 | 1 | -2/+2 | |
| | | | | | | | | | | | * we can't actually bind arrays. * arrays require a sentinel | ||||
| | * | readme: document both allocating and non-allocating methods | 2020-12-31 | 1 | -76/+101 | |
| | | | |||||
| | * | add pragmaAlloc | 2020-12-30 | 1 | -21/+43 | |
| | | | |||||
| | * | add more tests | 2020-12-30 | 1 | -28/+83 | |
| | | | |||||
| | * | introduce *Alloc methods | 2020-12-30 | 1 | -48/+109 | |
| |/ | | | | | | | | | | Stmt.oneAlloc, Db.oneAlloc and Iterator.nextAlloc do the same thing as Stmt.one, Db.one, Iterator.next respectively but they can allocate memory. This is useful when reading TEXT or BLOB columns because if you can't allocate memory the only way to read these types is with an array which means you must have an idea of the maximum size of the column. | ||||
| * | document OpenFlags | 2020-12-30 | 1 | -0/+1 | |
| | | |||||
| * | add more tests for failures | 2020-12-30 | 1 | -0/+21 | |
| | | | | | | * one for Db.init * one for Db.prepare | ||||
| * | ci: use the github repo | 2020-12-30 | 4 | -4/+4 | |
| | | |||||
| * | remove logging | 2020-12-30 | 1 | -3/+0 | |
| | | |||||
| * | add Error, DetailedError | 2020-12-30 | 1 | -0/+33 | |
| | | |||||