summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * allow binding and reading optionalsGravatar Vincent Rischmann2021-01-061-2/+32
| | | | | | | | Also allow binding the '(null)' value.
| * add a test for optionalsGravatar Vincent Rischmann2021-01-061-0/+27
| |
| * fix compile error in readFieldGravatar Vincent Rischmann2021-01-061-1/+1
|/
* Merge pull request #12 from vrischmann/read-pointersGravatar Vincent Rischmann2021-01-062-33/+80
|\ | | | | Read pointers
| * readme: mention that pointers are allowedGravatar Vincent Rischmann2021-01-061-0/+2
| |
| * add a test that reads only pointersGravatar Vincent Rischmann2021-01-061-0/+35
| |
| * implement reading a value into a one-element pointerGravatar Vincent Rischmann2021-01-061-1/+6
| |
| * add readFieldGravatar Vincent Rischmann2021-01-061-15/+20
| |
| * reorder fields to workaround a compiler bugGravatar Vincent Rischmann2021-01-061-17/+17
| |
* | ci: aarch64 builds are super slow, don't do them twiceGravatar Vincent Rischmann2021-01-061-4/+0
|/
* fix typo in readmeGravatar Vincent Rischmann2021-01-051-1/+1
|
* fix readmeGravatar Vincent Rischmann2021-01-051-1/+1
|
* Merge pull request #14 from Sobeston/patch-1Gravatar Vincent Rischmann2021-01-051-1/+1
|\ | | | | logging file open {} -> {s}
| * logging file open {} -> {s}Gravatar Sebastian2021-01-051-1/+1
|/
* convert {} to {s} or {d}Gravatar Vincent Rischmann2021-01-032-5/+5
|
* readme: remove obsolete statementGravatar Vincent Rischmann2021-01-031-1/+1
|
* readme: fix code examplesGravatar Vincent Rischmann2021-01-031-8/+10
|
* add a test for binding a .One pointerGravatar Vincent Rischmann2021-01-021-0/+22
|
* Merge pull request #13 from vrischmann/bind-string-literalGravatar Vincent Rischmann2021-01-021-3/+27
|\ | | | | Bind string literal
| * stop special casing []const u8 and []u8, do it in the .Pointer switch armGravatar Vincent Rischmann2021-01-021-3/+6
| |
| * allow binding a pointerGravatar Vincent Rischmann2021-01-021-0/+1
| |
| * add a test that binds a string literalGravatar Vincent Rischmann2021-01-021-0/+20
|/
* add bindFieldGravatar Vincent Rischmann2021-01-021-24/+31
|
* fix the comment on Stmt.one and Stmt.allGravatar Vincent Rischmann2021-01-021-3/+1
|
* fix compile errorGravatar Vincent Rischmann2021-01-011-1/+1
|
* check the weight field tooGravatar Vincent Rischmann2021-01-011-0/+1
|
* Merge branch 'statement-reuse'Gravatar Vincent Rischmann2021-01-011-0/+21
|\
| * readme: document statement reuseGravatar Vincent Rischmann2021-01-011-0/+21
|/ | | | Fixes #3
* build: set the targetGravatar Vincent Rischmann2020-12-311-0/+3
|
* Merge pull request #11 from vrischmann/map-errorsGravatar Vincent Rischmann2020-12-312-10/+277
|\ | | | | Map errors
| * fix error checks based on the sqlite versionGravatar Vincent Rischmann2020-12-311-10/+38
| |
| * fix tests with the new errorsGravatar Vincent Rischmann2020-12-311-2/+2
| |
| * add proper error typesGravatar Vincent Rischmann2020-12-312-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-allocGravatar Vincent Rischmann2020-12-312-168/+331
|\ | | | | Split allocating from non-allocating methods
| * fix readmeGravatar Vincent Rischmann2020-12-311-2/+2
| | | | | | | | | | * we can't actually bind arrays. * arrays require a sentinel
| * readme: document both allocating and non-allocating methodsGravatar Vincent Rischmann2020-12-311-76/+101
| |
| * add pragmaAllocGravatar Vincent Rischmann2020-12-301-21/+43
| |
| * add more testsGravatar Vincent Rischmann2020-12-301-28/+83
| |
| * introduce *Alloc methodsGravatar Vincent Rischmann2020-12-301-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 OpenFlagsGravatar Vincent Rischmann2020-12-301-0/+1
|
* add more tests for failuresGravatar Vincent Rischmann2020-12-301-0/+21
| | | | | * one for Db.init * one for Db.prepare
* ci: use the github repoGravatar Vincent Rischmann2020-12-304-4/+4
|
* remove loggingGravatar Vincent Rischmann2020-12-301-3/+0
|
* add Error, DetailedErrorGravatar Vincent Rischmann2020-12-301-0/+33
|
* update readme for Db.initGravatar Vincent Rischmann2020-12-301-3/+10
|
* document ThreadingMode and InitOptionsGravatar Vincent Rischmann2020-12-301-1/+19
|
* remove the allocator from Db and Db.initGravatar Vincent Rischmann2020-12-301-21/+18
|
* ci: stop sending an email on failureGravatar Vincent Rischmann2020-12-294-20/+0
|
* add initOptions for testingGravatar Vincent Rischmann2020-12-291-14/+24
|
* add InitOptionsGravatar Vincent Rischmann2020-12-291-15/+29
|