| Commit message (Collapse) | Author | Files | Lines | ||
|---|---|---|---|---|---|
| 2022-08-02 | no need for 'comptime' for this check | 1 | -1/+1 | ||
| A comparison against a const is already comptime. | |||||
| 2022-08-02 | create a specific CreateFunctionFlag struct based on the SQLite version | 1 | -2/+16 | ||
| 2022-07-14 | add a way to get the aggregate context with createAggregateFunction | 1 | -53/+161 | ||
| The old way of working was that we always passed the user context as first argument to both `step` and `finalize` functions and the caller had no way of getting the aggregate context from SQLite (http://www3.sqlite.org/c3ref/aggregate_context.html). Now both `step` and `finalize` functions must have a first argument of type `FunctionContext`: fn step(fctx: FunctionContext, input: u32) void { var ctx = fctx.aggregateContext(*u32) orelse return; ctx.* += input; } fn finalize(ctx: *u32) u32 { var ctx = fctx.aggregateContext(*u32) orelse return 0; return ctx.sum; } Fixes #89 | |||||
| 2022-05-24 | clarify the compile error | 1 | -1/+1 | ||
| 2022-05-17 | Make ParsedQuery a generic on query length | 1 | -2/+2 | ||
| 2022-05-15 | Make errorFromResultCode public | 1 | -0/+1 | ||
| Useful for direct C API users. | |||||
| 2022-05-14 | remove unreachable condition | 1 | -2/+0 | ||
| 2022-05-14 | add test for single statement in execMulti | 1 | -1/+9 | ||
| 2022-05-14 | rename to execMulti | 1 | -2/+2 | ||
| 2022-05-14 | add newlines and comments to runMulti test case | 1 | -1/+1 | ||
| 2022-05-14 | fix splitting logic for runMulti | 1 | -4/+21 | ||
| 2022-05-14 | copy options over | 1 | -4/+5 | ||
| 2022-05-14 | add Db.runMulti | 1 | -1/+24 | ||
| 2022-05-03 | add a test for a bind marker with an optional type | 1 | -14/+34 | ||
| 2022-05-02 | the '_' character is valid in a named bind parameter | 1 | -2/+2 | ||
| 2022-05-02 | put the TODO comment at the end of the line instead | 1 | -9/+3 | ||
| When using an explicit error set one must add the "Workaround" error in their error set; putting the explanation as to why it exists at the end of the line makes it so it is displayed directly in the output of the compiler. Before a user had to go look at the source code to understand why we have this workaround. | |||||
| 2022-04-29 | Makes sqlite.Error pub. | 1 | -1/+2 | ||
| 2022-04-24 | remove unused assert | 1 | -3/+0 | ||
| 2022-04-24 | clarify type name | 1 | -3/+3 | ||
| 2022-04-24 | add compile error when passing non-struct to Statement.bind | 1 | -0/+5 | ||
| 2022-04-24 | add test for runtime slices as DynamicStatement args | 1 | -0/+22 | ||
| 2022-04-24 | emit compileError on unsupported pointer sizes | 1 | -4/+8 | ||
| 2022-04-24 | add support for arrays as runtime bind values | 1 | -0/+5 | ||
| 2022-04-24 | allow slices to be passed as bind parameters | 1 | -9/+22 | ||
| 2022-04-23 | remove the 'opening' logs | 1 | -4/+0 | ||
| 2022-04-23 | handle tagged union when binding parameters | 1 | -0/+87 | ||
| 2022-04-21 | add the Db.execAlloc method | 1 | -0/+19 | ||
| 2022-04-21 | remove comment | 1 | -3/+0 | ||
| 2022-04-21 | cleanup the temporary values correctly for enums | 1 | -26/+42 | ||
| 2022-04-21 | check explicitly that bindField is implemented | 1 | -1/+7 | ||
| 2022-04-17 | fix alignCast in the xStep callback of createAggregateFunction | 1 | -12/+8 | ||
| 2022-04-17 | factor the CreateFunctionFlag to c_int code | 1 | -14/+15 | ||
| 2022-04-17 | work on supporting aggregate SQL functions | 1 | -78/+259 | ||
| 2022-04-16 | document CreateFunctionFlag | 1 | -0/+8 | ||
| 2022-04-16 | constrain the error set of createScalarFunction | 1 | -1/+1 | ||
| 2022-04-03 | add createScalarFunction to create a user-defined scalar function | 1 | -0/+292 | ||
| 2022-04-02 | only use sqlite3_error_offset if compatible | 1 | -1/+8 | ||
| 2022-04-02 | add error offsets to DetailedError | 1 | -3/+9 | ||
| API introduced on 3.38.0 | |||||
| 2022-02-05 | fix sentinel | 1 | -19/+23 | ||
| 2021-12-31 | add a test for a crash found by fuzzing | 1 | -1/+5 | ||
| 2021-12-31 | fix savepoint InitError | 1 | -0/+3 | ||
| 2021-12-31 | statement: return an error if using exec() returns data | 1 | -0/+1 | ||
| 2021-12-31 | add a test using untyped bind markers | 1 | -0/+19 | ||
| 2021-12-31 | use StatementType | 1 | -4/+2 | ||
| 2021-12-26 | fix a panic in Statement.prepare if the query is empty | 1 | -0/+7 | ||
| sqlite3_prepare_v2 doesn't return an error code if the input query string is empty or is a comment, instead the statement will be null. | |||||
| 2021-12-26 | add tests for crashes found by fuzzing | 1 | -0/+19 | ||
| 2021-12-18 | fix readArray when reading zero-length blob | 1 | -8/+17 | ||
| sqlite3_column_blob returns a NULL pointer for a zero-length blob, which must be handled correctly. | |||||
| 2021-12-18 | add a test binding an empty slice to a text column | 1 | -0/+67 | ||
| 2021-12-18 | always deinit the test database | 1 | -0/+30 | ||
| otherwise using the dbfile option won't work | |||||
| 2021-12-18 | rename argument for clarity | 1 | -3/+3 | ||
| also style consistency; variables should be snake case | |||||