| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | add options to enable wine/wasmtime/darling for tests | 2021-11-02 | 1 | -0/+6 | |
| | | |||||
| * | implement savepoint | 2021-10-23 | 1 | -0/+250 | |
| | | |||||
| * | use explicit error sets everywhere | 2021-10-23 | 1 | -11/+25 | |
| | | |||||
| * | ci: remove the debian amd64 build | 2021-10-23 | 1 | -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 fields | 2021-10-23 | 1 | -9/+12 | |
| | | |||||
| * | query: increase eval branch quota for tests | 2021-10-23 | 1 | -0/+1 | |
| | | |||||
| * | query: no need to use comptimePrint | 2021-10-23 | 1 | -3/+3 | |
| | | |||||
| * | query: use a switch instead of if/else chains | 2021-10-23 | 1 | -8/+11 | |
| | | |||||
| * | document BindMarker | 2021-10-23 | 1 | -2/+9 | |
| | | |||||
| * | rename id_type/IdType for naming consistency | 2021-10-23 | 1 | -9/+9 | |
| | | |||||
| * | query.zig: code format | 2021-10-19 | 1 | -25/+19 | |
| | | |||||
| * | BindMarker: idType to id_type | 2021-10-19 | 1 | -8/+8 | |
| | | |||||
| * | BindMarker, ParsedQuery: support BindMarker.idType | 2021-10-19 | 1 | -2/+48 | |
| | | |||||
| * | ParsedQuery: support :@$ as bind marker mark | 2021-10-19 | 1 | -18/+17 | |
| | | |||||
| * | sqlite: move to new ParsedQuery and BindMarker | 2021-10-19 | 1 | -13/+9 | |
| | | |||||
| * | ParsedQuery: support named parameters. | 2021-10-19 | 1 | -18/+115 | |
| | | | | | | Besides ParsedQuery, BindMarker have been reworked to fit new need of named parameters. | ||||
| * | remove the tools directory | 2021-10-18 | 2 | -36/+0 | |
| | | | | | this isn't used | ||||
| * | use snake case for field names | 2021-10-18 | 1 | -3/+3 | |
| | | |||||
| * | make bindField clearer | 2021-10-18 | 1 | -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 here | 2021-10-18 | 1 | -1/+1 | |
| | | |||||
| * | improve documentation of DynamicStatement | 2021-10-18 | 1 | -27/+27 | |
| | | |||||
| * | update sqlite bundled source code to 3.36.0 | 2021-10-18 | 2 | -2974/+4339 | |
| | | |||||
| * | Db.getPragmaQuery: use comptimePrint instead of bufPrint | 2021-10-18 | 1 | -7/+5 | |
| | | |||||
| * | add the StatementType function | 2021-10-13 | 1 | -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-oldbuild | 2021-10-13 | 1 | -121/+436 | |
| |\ | | | | | DynamicStatement | ||||
| | * | sqlite: format code | 2021-10-13 | 1 | -19/+14 | |
| | | | |||||
| | * | DynamicStatement.translateError: fix typo in name | 2021-10-13 | 1 | -2/+2 | |
| | | | |||||
| | * | DynamicStatement.bindField: fix incompatible if branches for optionals | 2021-10-13 | 1 | -1/+1 | |
| | | | |||||
| | * | sqlite: some doc fixes | 2021-10-13 | 1 | -5/+5 | |
| | | | |||||
| | * | DynamicStatment: introduce original sqlite3 statement. | 2021-10-13 | 1 | -122/+442 | |
| |/ | |||||
| * | test binding an optional value too | 2021-10-12 | 1 | -1/+3 | |
| | | |||||
| * | fix typo | 2021-10-11 | 1 | -1/+1 | |
| | | |||||
| * | fix pragma code, return value must be explicitly ignored | 2021-10-11 | 1 | -1/+1 | |
| | | |||||
| * | Merge pull request #52 from nektro/bind-alloc | 2021-10-07 | 1 | -11/+103 | |
| |\ | | | | | Allow `bind` to accept options and add BaseType handling for structs | ||||
| | * | use `try` instead of `catch unreachable` | 2021-10-06 | 1 | -1/+1 | |
| | | | |||||
| | * | add inserting and reading test for struct BaseType support | 2021-10-06 | 1 | -0/+57 | |
| | | | |||||
| | * | add BaseType support for structs | 2021-09-23 | 1 | -0/+7 | |
| | | | |||||
| | * | add iteratorAlloc and execAlloc | 2021-09-23 | 1 | -2/+30 | |
| | | | |||||
| | * | add options parameter to bind/bindField | 2021-09-23 | 1 | -9/+9 | |
| | | | |||||
| * | | build: fix for latest zig | 2021-10-05 | 1 | -2/+3 | |
| | | | |||||
| * | | Merge pull request #55 from vrischmann/fix-readme | 2021-10-01 | 1 | -1/+2 | |
| |\ \ | |/ |/| | readme: fix git submodule setup instructions | ||||
| | * | readme: fix git submodule setup instructions | 2021-10-01 | 1 | -1/+2 | |
| |/ | | | | Fixes #54 | ||||
| * | Merge pull request #48 from vrischmann/clarify-options | 2021-09-07 | 1 | -40/+54 | |
| |\ | | | | | stop using anytype for options | ||||
| | * | more minor cleanups | 2021-09-07 | 1 | -10/+4 | |
| | | | |||||
| | * | Stop using anytype in the public API. | 2021-09-07 | 1 | -32/+52 | |
| |/ | | | | | | | | | | | | | | | | | | | | | The need for using `options: anytype` in readXYZ functions is so that they can be used both when called by `one`/`next` or `oneAlloc`/`nextAlloc`. In the first case there won't be an allocator member in the tuple, in the latter there will be. But, since the public API takes an explicit allocator argument in `oneAlloc`/`nextAlloc` there's no need to take a `anytype` options in the public API. This commit changes the public API to always use `QueryOptions`. This commit also adds a bunch of explicit comptime checks to validate the options type passed to the readXYZ functions. Especially important is checking the presence of the `allocator` field if the function requires an allocator. Finally, cleanup some stuff and reorder arguments in `readPointer`. | ||||
| * | Merge pull request #47 from vrischmann/fix-usingnamespace | 2021-09-04 | 2 | -12/+15 | |
| |\ | | | | | fix for ziglang/zig#9618 | ||||
| | * | fix for ziglang/zig#9618 | 2021-09-04 | 2 | -12/+15 | |
| |/ | |||||
| * | Merge branch 'fix-read-array' | 2021-08-31 | 1 | -2/+2 | |
| |\ | |||||
| | * | fix the compile error from readArray | 2021-08-31 | 1 | -2/+2 | |
| |/ | |||||
| * | Merge branch 'fix-latest-zig' | 2021-08-27 | 1 | -2/+5 | |
| |\ | |||||