| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| | * | adding allocator to Db.QueryOptions was a mistake | 2021-08-11 | 1 | -1/+0 | ||
| | | | ||||||
| | * | clarify bind marker len compile error | 2021-08-09 | 1 | -1/+4 | ||
| | | | ||||||
| | * | options asks for `allocator` field but its not there | 2021-08-09 | 1 | -0/+1 | ||
| | | | ||||||
| | * | iterator- pass along options object | 2021-08-09 | 1 | -1/+1 | ||
| | | | ||||||
| | * | make `init` return a Self instead of updating a pointer | 2021-08-09 | 1 | -3/+3 | ||
| | | | ||||||
| * | | move the documentation to Db.openBlob since that is the method user will call | 2021-08-09 | 1 | -19/+26 | ||
| | | | ||||||
| * | | clarify Blob.open | 2021-08-09 | 1 | -0/+1 | ||
| | | | ||||||
| * | | document the ZeroBlob type | 2021-08-09 | 1 | -0/+17 | ||
| | | | ||||||
| * | | clarify the OpenFlags | 2021-08-09 | 1 | -0/+5 | ||
| | | | ||||||
| * | | clarify Mode documentation | 2021-08-09 | 1 | -0/+4 | ||
| |/ | ||||||
| * | modify exec to take a QueryOptions | 2021-08-02 | 1 | -21/+47 | ||
| | | | | | Fixes #35 | |||||
| * | fix 'unused variable' errors | 2021-06-25 | 1 | -6/+1 | ||
| | | ||||||
| * | fix 'redundant comptile' error | 2021-06-25 | 1 | -2/+2 | ||
| | | ||||||
| * | fix 'unused function parameter' error | 2021-06-25 | 1 | -0/+5 | ||
| | | ||||||
| * | set the eval branch quota in the return type block | 2021-05-30 | 1 | -5/+10 | ||
| | | | | | | | | | | | `prepare` and `prepareWithDiags` parse the query at comptime in the return type definition. This exceeds the branch quota since https://github.com/ziglang/zig/commit/b11ac9c5bfb4048eb4aa561f8b3b058a76787f7e. Use a block and `@setEvalBranchQuota` to work around this. Fixes #30. | |||||
| * | all: fix tests for latest zig | 2021-05-09 | 1 | -77/+77 | ||
| | | ||||||
| * | attempt to make the threading mode error clearer | 2021-05-03 | 1 | -1/+1 | ||
| | | ||||||
| * | workaround compiler bug | 2021-04-27 | 1 | -3/+9 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | This workaround allows one to write this: const Foobar = struct { foo: usize, bar: []const u8, }; const row = try stmt.one(Foobar); Where the first field in the struct (here `foo`) is either an integer type, a float type or a boolean. Moving the first field of this type to second position resolves the bug. This is because readInt, readFloat and readBool have an empty error set and cause this bug to trigger. Removing the error altogether also triggers the bug so we define an explicit error set. If we actually want to return an error from these functions we'll simply remove the workaround. See https://github.com/ziglang/zig/issues/5149 | |||||
| * | fix error name | 2021-04-23 | 1 | -1/+1 | ||
| | | ||||||
| * | Allow reading into static size arrays as long as size matches | 2021-04-23 | 1 | -11/+12 | ||
| | | ||||||
| * | improve logs in Statement.deinit and Statement.reset | 2021-04-17 | 1 | -3/+6 | ||
| | | ||||||
| * | fix DetailedError and Diagnostics formatting | 2021-04-17 | 1 | -4/+8 | ||
| | | ||||||
| * | replace the pragma argument with a nullable string | 2021-04-17 | 1 | -18/+15 | ||
| | | ||||||
| * | fix documentation | 2021-04-17 | 1 | -1/+1 | ||
| | | ||||||
| * | simplify iterator usage in code and doc | 2021-02-27 | 1 | -10/+5 | ||
| | | ||||||
| * | add Diagnostics | 2021-02-27 | 1 | -11/+130 | ||
| | | ||||||
| * | store the database handle in Iterator and Statement | 2021-02-27 | 1 | -0/+4 | ||
| | | ||||||
| * | add Blob.reopen | 2021-01-31 | 1 | -17/+53 | ||
| | | ||||||
| * | add incremental i/o on blob | 2021-01-31 | 1 | -0/+204 | ||
| | | ||||||
| * | add the Db.getLastInsertRowID method | 2021-01-31 | 1 | -1/+24 | ||
| | | ||||||
| * | rework of the test database initialization | 2021-01-24 | 1 | -45/+48 | ||
| | | | | | | | | | The hardcoded path we used is invalid on Windows, instead use a temp directory from std.testing.tmpDir. Need to do some refactoring too because now we compute the database file path and therefore need an allocator while the Mode is in use in Db.init. | |||||
| * | allow binding and reading optionals | 2021-01-06 | 1 | -2/+32 | ||
| | | | | | Also allow binding the '(null)' value. | |||||
| * | add a test for optionals | 2021-01-06 | 1 | -0/+27 | ||
| | | ||||||
| * | fix compile error in readField | 2021-01-06 | 1 | -1/+1 | ||
| | | ||||||
| * | add a test that reads only pointers | 2021-01-06 | 1 | -0/+35 | ||
| | | ||||||
| * | implement reading a value into a one-element pointer | 2021-01-06 | 1 | -1/+6 | ||
| | | ||||||
| * | add readField | 2021-01-06 | 1 | -15/+20 | ||
| | | ||||||
| * | reorder fields to workaround a compiler bug | 2021-01-06 | 1 | -17/+17 | ||
| | | ||||||
| * | logging file open {} -> {s} | 2021-01-05 | 1 | -1/+1 | ||
| | | ||||||
| * | convert {} to {s} or {d} | 2021-01-03 | 1 | -3/+3 | ||
| | | ||||||
| * | add a test for binding a .One pointer | 2021-01-02 | 1 | -0/+22 | ||
| | | ||||||
| * | stop special casing []const u8 and []u8, do it in the .Pointer switch arm | 2021-01-02 | 1 | -3/+6 | ||
| | | ||||||
| * | allow binding a pointer | 2021-01-02 | 1 | -0/+1 | ||
| | | ||||||
| * | add a test that binds a string literal | 2021-01-02 | 1 | -0/+20 | ||
| | | ||||||
| * | add bindField | 2021-01-02 | 1 | -24/+31 | ||
| | | ||||||
| * | fix the comment on Stmt.one and Stmt.all | 2021-01-02 | 1 | -3/+1 | ||
| | | ||||||
| * | fix compile error | 2021-01-01 | 1 | -1/+1 | ||
| | | ||||||
| * | check the weight field too | 2021-01-01 | 1 | -0/+1 | ||
| | | ||||||
| * | fix tests with the new errors | 2020-12-31 | 1 | -2/+2 | ||
| | | ||||||
| * | add proper error types | 2020-12-31 | 1 | -8/+7 | ||
| | | | | | | | | * Add SQLiteError and various SQLiteExtendedXYZError * Replace old errors with the SQLite ones where appropriate Fixes #8 | |||||