summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* gitignore: ignore coredumpsGravatar Vincent Rischmann2021-12-261-0/+1
|
* improve query parsing to ignore bind markers prefix inside stringsGravatar Vincent Rischmann2021-12-181-0/+16
| | | | Fixes #65
* add a test for bind markers inside stringsGravatar Vincent Rischmann2021-12-181-1/+31
|
* readme: add a note about sqlite compile-time optionsGravatar Vincent Rischmann2021-12-181-0/+2
|
* fix readArray when reading zero-length blobGravatar Vincent Rischmann2021-12-181-8/+17
| | | | | sqlite3_column_blob returns a NULL pointer for a zero-length blob, which must be handled correctly.
* add a test binding an empty slice to a text columnGravatar Vincent Rischmann2021-12-181-0/+67
|
* always deinit the test databaseGravatar Vincent Rischmann2021-12-181-0/+30
| | | | otherwise using the dbfile option won't work
* rename argument for clarityGravatar Vincent Rischmann2021-12-181-3/+3
| | | | also style consistency; variables should be snake case
* build: fix for latest zigGravatar Vincent Rischmann2021-12-061-8/+0
|
* Merge branch 'fix-latest-zig'Gravatar Vincent Rischmann2021-12-061-52/+73
|\
| * all: replace spanZ with sliceToGravatar Vincent Rischmann2021-12-011-8/+12
| |
| * all: fix for latest Allocator interface refactorGravatar Vincent Rischmann2021-12-011-44/+61
|/
* dynamic statement: fix documentationGravatar Vincent Rischmann2021-11-221-3/+5
|
* dynamic statement: document bind()Gravatar Vincent Rischmann2021-11-221-0/+33
|
* dynamic statement: add some testsGravatar Vincent Rischmann2021-11-221-0/+98
|
* dynamic statement: fix one()Gravatar Vincent Rischmann2021-11-221-1/+1
|
* remove smartBind/bindNamedStruct, they're not actually necessaryGravatar Vincent Rischmann2021-11-221-33/+11
|
* FixesGravatar Felix "xq" Queißner2021-11-221-3/+36
|
* A handful of tiny fixes.Gravatar Felix "xq" Queißner2021-11-221-6/+6
|
* Merge branch 'fix-savepoint-deinit'Gravatar Vincent Rischmann2021-11-071-0/+5
|\
| * savepoint: always deinit the statementsGravatar Vincent Rischmann2021-11-071-0/+5
|/
* add options to enable wine/wasmtime/darling for testsGravatar Vincent Rischmann2021-11-021-0/+6
|
* implement savepointGravatar Vincent Rischmann2021-10-231-0/+250
|
* use explicit error sets everywhereGravatar Vincent Rischmann2021-10-231-11/+25
|
* ci: remove the debian amd64 buildGravatar Vincent Rischmann2021-10-231-25/+0
| | | | | | | | amd64 on a "standard" distribution using gblic is already tested with Ubuntu using GitHub Actions. The plan for the CI is to switch to GitHub Actions completely when and where possible.
* query: use lowercase for enum fieldsGravatar Vincent Rischmann2021-10-231-9/+12
|
* query: increase eval branch quota for testsGravatar Vincent Rischmann2021-10-231-0/+1
|
* query: no need to use comptimePrintGravatar Vincent Rischmann2021-10-231-3/+3
|
* query: use a switch instead of if/else chainsGravatar Vincent Rischmann2021-10-231-8/+11
|
* document BindMarkerGravatar Vincent Rischmann2021-10-231-2/+9
|
* rename id_type/IdType for naming consistencyGravatar Vincent Rischmann2021-10-231-9/+9
|
* query.zig: code formatGravatar thisLight2021-10-191-25/+19
|
* BindMarker: idType to id_typeGravatar thisLight2021-10-191-8/+8
|
* BindMarker, ParsedQuery: support BindMarker.idTypeGravatar thisLight2021-10-191-2/+48
|
* ParsedQuery: support :@$ as bind marker markGravatar thisLight2021-10-191-18/+17
|
* sqlite: move to new ParsedQuery and BindMarkerGravatar thisLight2021-10-191-13/+9
|
* ParsedQuery: support named parameters.Gravatar thisLight2021-10-191-18/+115
| | | | | Besides ParsedQuery, BindMarker have been reworked to fit new need of named parameters.
* remove the tools directoryGravatar Vincent Rischmann2021-10-182-36/+0
| | | | this isn't used
* use snake case for field namesGravatar Vincent Rischmann2021-10-181-3/+3
|
* make bindField clearerGravatar Vincent Rischmann2021-10-181-34/+52
| | | | | | | | | | Be less clever with comptime reflection. This has the advantage of making the code a lot clearer, clearly identifying which case are converting an sqlite int result to an error. This also makes it easier to follow the error trace if there is an error while binding a field.
* no need for comptimePrint hereGravatar Vincent Rischmann2021-10-181-1/+1
|
* improve documentation of DynamicStatementGravatar Vincent Rischmann2021-10-181-27/+27
|
* update sqlite bundled source code to 3.36.0Gravatar Vincent Rischmann2021-10-182-2974/+4339
|
* Db.getPragmaQuery: use comptimePrint instead of bufPrintGravatar thisLight2021-10-181-7/+5
|
* add the StatementType functionGravatar Vincent Rischmann2021-10-131-10/+24
| | | | | | | This function returns the type of a statement as would be returned by Db.prepare. Needed to be able to store a statement in a struct.
* Merge pull request #53 from kacheproject/dynamic-stmt-oldbuildGravatar Vincent Rischmann2021-10-131-121/+436
|\ | | | | DynamicStatement
| * sqlite: format codeGravatar thisLight2021-10-131-19/+14
| |
| * DynamicStatement.translateError: fix typo in nameGravatar thisLight2021-10-131-2/+2
| |
| * DynamicStatement.bindField: fix incompatible if branches for optionalsGravatar thisLight2021-10-131-1/+1
| |
| * sqlite: some doc fixesGravatar thisLight2021-10-131-5/+5
| |