summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * sqlite: expose c import, add 'shared_cache' to init flagsGravatar Kenta Iwasaki2021-08-261-1/+10
|/ | | | | | | | | | | | | Expose the C import to sqlite.h. Making a separate call to @cImport outside of the library will cause Zig to regenerate all definitions in sqlite.h. The regenerated definitions (i.e. structs, enums) would not be equivalent to the definitions imported in by this library. This causes problems in the case one wants to manually wrap SQLite structs, pointers, and enums with the helpers provided in this library. Added 'shared_cache' to init flags in order to allow having the same backing table and statement cache shared amongst all connections pointed to the same database file.
* Merge pull request #42 from nektro/masterGravatar Vincent Rischmann2021-08-253-16/+71
|\ | | | | Add support for enum backed columns
| * dry up the updated constraint checkGravatar Meghan Denny2021-08-241-14/+11
| |
| * fix type constraint checks for container and non-container typesGravatar Meghan Denny2021-08-241-2/+18
| |
| * enum tests now pass without orelse in readGravatar Meghan Denny2021-08-241-1/+1
| |
| * fix bind indexGravatar Meghan Denny2021-08-241-2/+2
| |
| * tests- add enum field casesGravatar Meghan Denny2021-08-231-12/+31
| |
| * tests- use select * when pulling into a structGravatar Meghan Denny2021-08-231-2/+2
| |
| * add support for enum fields and lay groundwork for #39Gravatar Meghan Denny2021-08-231-1/+21
| |
| * add zigmod to gitignoreGravatar Meghan Denny2021-08-232-0/+3
|/
* Merge pull request #38 from vrischmann/ci-macosGravatar Vincent Rischmann2021-08-186-40/+12
|\ | | | | enable CI for macOS
| * ci: stop testing both memory and filesystemGravatar Vincent Rischmann2021-08-185-39/+3
| | | | | | | | | | | | | | | | | | We don't do much when choosing in memory or not, sqlite does all the work of managing the data, so there's not much point for us testing both modes. This will also have the benefit of reducing the time needed to run the CI, especially for aarch64 which is super slow.
| * ci: enable macOSGravatar Vincent Rischmann2021-08-181-2/+2
| |
| * build: handle macos in the test targetsGravatar Vincent Rischmann2021-08-181-0/+8
|/
* Merge pull request #36 from nektro/masterGravatar Vincent Rischmann2021-08-124-13/+14
|\ | | | | Various fixes
| * update README with new init syntax as wellGravatar Meghan Denny2021-08-111-2/+1
| |
| * update tests for new use of `Db.init`Gravatar Meghan Denny2021-08-111-6/+2
| |
| * actions- add `fail-fast: false` to matrix stepsGravatar Meghan Denny2021-08-111-0/+2
| |
| * adding allocator to Db.QueryOptions was a mistakeGravatar Meghan Denny2021-08-111-1/+0
| |
| * git- ignore zig-cache and zig-outGravatar Meghan Denny2021-08-111-0/+1
| |
| * clarify bind marker len compile errorGravatar Meghan Denny2021-08-091-1/+4
| |
| * options asks for `allocator` field but its not thereGravatar Meghan Denny2021-08-091-0/+1
| |
| * iterator- pass along options objectGravatar Meghan Denny2021-08-091-1/+1
| |
| * make `init` return a Self instead of updating a pointerGravatar Meghan Denny2021-08-091-3/+3
| |
* | Merge pull request #37 from vrischmann/improve-docGravatar Vincent Rischmann2021-08-091-18/+52
|\ \ | |/ |/| Improve doc
| * move the documentation to Db.openBlob since that is the method user will callGravatar Vincent Rischmann2021-08-091-19/+26
| |
| * clarify Blob.openGravatar Vincent Rischmann2021-08-091-0/+1
| |
| * document the ZeroBlob typeGravatar Vincent Rischmann2021-08-091-0/+17
| |
| * clarify the OpenFlagsGravatar Vincent Rischmann2021-08-091-0/+5
| |
| * clarify Mode documentationGravatar Vincent Rischmann2021-08-091-0/+4
|/
* Merge pull request #33 from vrischmann/exec-with-diagsGravatar Vincent Rischmann2021-08-021-21/+47
|\ | | | | modify exec to take a QueryOptions
| * modify exec to take a QueryOptionsGravatar Vincent Rischmann2021-08-021-21/+47
|/ | | | Fixes #35
* Merge branch 'improve-readme'Gravatar Vincent Rischmann2021-07-181-1/+23
|\
| * document that fixed-sized arrays are supportedGravatar Vincent Rischmann2021-07-181-1/+23
|/
* Merge branch 'add-gitattributes'Gravatar Vincent Rischmann2021-07-182-6/+3
|\
| * Revert "ci: use vrischmann/checkout@disable-autocrlf"Gravatar Vincent Rischmann2021-07-181-6/+2
| | | | | | | | This reverts commit 31caa367f3ea19a3a0a7d8c0a710089b14416d94.
| * gitattributes: normalize line endingsGravatar Vincent Rischmann2021-07-181-0/+1
|/
* Merge branch 'fix-windows'Gravatar Vincent Rischmann2021-07-121-2/+6
|\
| * ci: use vrischmann/checkout@disable-autocrlfGravatar Vincent Rischmann2021-07-121-2/+6
|/
* Merge branch 'fix-latest-zig'Gravatar Vincent Rischmann2021-06-272-17/+11
|\
| * fix 'unused variable' errorsGravatar Vincent Rischmann2021-06-251-6/+1
| |
| * query: fix new compilation errorsGravatar Vincent Rischmann2021-06-251-9/+3
| |
| * fix 'redundant comptile' errorGravatar Vincent Rischmann2021-06-251-2/+2
| |
| * fix 'unused function parameter' errorGravatar Vincent Rischmann2021-06-251-0/+5
|/
* Merge pull request #34 from Miaourt/masterGravatar Vincent Rischmann2021-06-142-92/+185
|\ | | | | Update SQLite to 3.35.5
| * Update SQLite to 3.35.5Gravatar Miaourt2021-06-132-92/+185
|/
* ci: cleanupGravatar Vincent Rischmann2021-06-094-8/+0
|
* Merge branch 'ci-qemu'Gravatar Vincent Rischmann2021-06-082-0/+22
|\
| * ci: run the tests with qemu tooGravatar Vincent Rischmann2021-06-072-0/+22
|/
* Merge branch 'more-windows-ci'Gravatar Vincent Rischmann2021-06-061-0/+8
|\