7 Commits

Author SHA1 Message Date
Michael Bradley, Jr
f634c2f5ae check for out-of-memory errors re: sqlite3_column_text/blob/bytes
closes #2
2022-07-15 10:56:45 -05:00
Michael Bradley, Jr
1a1a1ac642 ci: speedup the Tests workflow in GitHub Actions
Don't build with Nim v1.4, building with v1.2 and v1.6 should be enough.

Don't manually run `brew update` because `brew` will automatically do that on
an as-needed basis when running `brew install`.
2022-07-04 23:06:09 -05:00
Michael Bradley, Jr
0c5d805257
refactor base API to be async
and refactor Datastore impls and tests accordingly

Closes #7
2022-07-04 22:28:41 -05:00
Michael Bradley, Jr
3237e87130 improve bindParam handling of empty blobs
Per SQLite's docs, `sqlite3_bind_blob(s, n.cint, nil, 0.cint, nil)` is
equivalent to `sqlite3_bind_null(s, n.cint)` but the intent of the latter is
clearer.
2022-06-22 16:07:18 -05:00
Michael Bradley, Jr
b9eef2a5b4 improve bindParam handling of uint and float types 2022-06-22 16:07:18 -05:00
Michael Bradley, Jr
a9b00efbd6 initial implementation 2022-06-22 13:16:43 -05:00
Michael Bradley, Jr
45ddb0e3b7
first commit 2022-05-11 10:50:42 -05:00