summaryrefslogtreecommitdiff
path: root/sqlite.zig (follow)
Commit message (Collapse)AuthorAgeFilesLines
* update dynamic statement all to call arraylist.toOwnedSlice correctlyGravatar Patrick2025-10-181-1/+1
|
* update dynamic statement all to call arraylist.append correctlyGravatar Patrick2025-10-181-1/+1
|
* all: fix for latest zigGravatar Vincent Rischmann2025-08-201-16/+17
|
* chore: update to zig 0.15Gravatar Tesseract222025-08-091-18/+19
| | | | | Everything other than loadextension works. zig 0.15 remove usingnamespac, so tha whole mechanism has to be reworked, and idk how
* fix missed removed try in reading packed struct columnGravatar Meghan Denny2025-05-131-1/+1
|
* fix nameGravatar Vincent Rischmann2025-05-061-1/+1
|
* fix some typosGravatar Vincent Rischmann2025-05-061-5/+5
|
* fix tests for latest zigGravatar Vincent Rischmann2025-02-131-3/+3
|
* Update some missed Int -> intGravatar Matthias Portzel2025-01-201-2/+2
|
* all: fix for latest zigGravatar Vincent Rischmann2025-01-171-15/+11
|
* zig: remove workaround for ziglang#5149Gravatar Tim Culverhouse2025-01-061-12/+12
| | | | | | error.Workaround was being returned due to https://github.com/ziglang/zig/issues/5149. This has been fixed. Remove the error and todo items
* rework execMultiGravatar Vincent Rischmann2024-12-191-25/+6
| | | | | | | | | We don't have to expose the tail pointer to get execMulti to work: the tail pointer can stay local to execMulti instead of polluting the QueryOptions. This is a breaking change but as far as I can tell people only use execMulti, never the tail pointer for anything, so I guess it's fine.
* dynamic statement: add prepareWithTailGravatar Vincent Rischmann2024-12-191-1/+5
|
* add a fuzz testGravatar Vincent Rischmann2024-12-081-0/+67
|
* Merge pull request #169 from notcancername/unionGravatar Vincent Rischmann2024-11-171-2/+11
|\ | | | | support custom-binding packed unions
| * support custom-binding unionsGravatar notcancername2024-11-161-2/+11
| |
* | Reuse field for bindingGravatar IamSanjid2024-10-231-5/+43
|/
* fix for latest zigGravatar Vincent Rischmann2024-08-291-60/+60
|
* Latest zig master has renamed std.rand to std.RandomGravatar Malcolm Still2024-06-231-2/+2
|
* all: use our workaround function for SQLITE_TRANSIENTGravatar Vincent Rischmann2024-04-141-1/+1
|
* fix for latest zigGravatar Vincent Rischmann2024-04-141-6/+9
| | | | Also some major refactoring around the query parsing state.
* Add distinct EmptyQuery errorGravatar Jari Vetoniemi2023-12-191-5/+14
| | | | | The execMulti will otherwise fail if there's whitespace and comments. Which is common if for example using @embedFile("some-schema.sql");
* fix for latest zigGravatar Vincent Rischmann2023-12-061-1/+1
|
* Update sqlite.zigGravatar Krvopije2023-12-021-1/+1
| | | std.mem.copy was deprecated
* use @hasFieldGravatar Vincent Rischmann2023-11-231-3/+3
|
* add the fasFn helperGravatar Vincent Rischmann2023-11-231-1/+1
|
* add the isZigString helperGravatar Vincent Rischmann2023-11-231-6/+38
|
* rewrite a helper to check if a type is a structGravatar Vincent Rischmann2023-11-231-5/+11
| | | | std.meta.trait doesn't exist anymore.
* Update to zig 0.12.0-dev.1664+8ca4a5240Gravatar Ed Yu2023-11-211-36/+36
|
* update to Zig 0.11Gravatar Meghan Denny2023-08-171-1/+1
| | | | workaround for https://github.com/ziglang/zig/issues/16663
* DynamicStatement.all: use iteratorAllocGravatar Meghan2023-07-101-1/+1
| | | Statement.all already does
* test: add default value for TestUser.ColorGravatar Meghan2023-07-071-0/+1
|
* readField remove unreachable and support default value in string backed enumsGravatar Meghan2023-07-071-2/+1
|
* cast builtins removed typeGravatar Meghan2023-07-061-2/+2
|
* support packed structs as columns backed by their int typeGravatar Meghan2023-07-061-2/+7
|
* update for latest zigGravatar Vincent Rischmann2023-07-021-50/+45
|
* update for latest zigGravatar Vincent Rischmann2023-06-211-6/+6
|
* replace std.math.max with @maxGravatar Vincent Rischmann2023-06-181-1/+1
|
* replace meta.tagName with @tagNameGravatar Vincent Rischmann2023-05-171-4/+4
|
* Fix build failures on latest ZigGravatar Lue2023-05-171-2/+2
| | | | | | | Now the correct build APIs and `@memset` builtin are used. Unfortunately cImport fails for `aarch64` and `riscv64` targets, but I'm not sure how to fix this.
* fix calls to sqlite3_bind_text in bindFieldGravatar Vincent Rischmann2023-03-111-2/+4
|
* fix for latest zig by running 'zig fmt'Gravatar Vincent Rischmann2023-02-221-12/+12
|
* fix testsGravatar Vincent Rischmann2023-02-161-1/+1
|
* fix for latest zigGravatar Vincent Rischmann2022-12-261-15/+15
|
* stop using removed ascii functionsGravatar Vincent Rischmann2022-12-261-2/+2
|
* Update for latest Zig builtin renamesGravatar Ryan Liptak2022-12-191-7/+7
| | | | See https://github.com/ziglang/zig/pull/13930
* fix redundant comptimeGravatar Vincent Rischmann2022-12-091-1/+1
|
* fix for latest zigGravatar Vincent Rischmann2022-12-011-2/+2
|
* Fix compile error with Zig 0.10.0Gravatar Ryan Liptak2022-11-011-1/+1
| | | | | | | | | | Fixes the following error: ``` sqlite.zig:343:50: error: expected type '[*c]const u8', found '[:0]const u8' const result = c.sqlite3_open_v2(path, &db, flags, null); ^~~~ ```
* drop comptime from execMulti queryGravatar Luna2022-09-291-1/+1
| | | | not needed as we always prepare a dynamic statement