16 Commits

Author SHA1 Message Date
Dmitriy Ryajov
f5c7a3c02b
add common basic tests 2022-09-19 15:54:29 -06:00
Dmitriy Ryajov
86b13495f1
rename tests 2022-09-19 15:54:19 -06:00
Dmitriy Ryajov
36655e318a
cleanup tests 2022-09-19 15:53:38 -06:00
Dmitriy Ryajov
c7df334836
rename sql tests 2022-09-16 21:15:43 -06:00
Dmitriy Ryajov
5d29ad905d
add sql backend tests 2022-09-16 21:15:28 -06:00
Dmitriy Ryajov
77807d8948
wip: rework sql store tests 2022-09-16 21:15:08 -06:00
Dmitriy Ryajov
acd77c5385
rename and cleanup fs store tests 2022-09-16 21:14:02 -06:00
Dmitriy Ryajov
f0f979539f
cleanup key tests 2022-09-16 21:13:03 -06:00
Dmitriy Ryajov
78653d9dd4
wip 2022-09-12 12:30:52 -06:00
Dmitriy Ryajov
ed6842b743
simplify key api 2022-09-10 13:50:05 -06:00
Michael Bradley, Jr
2769ce1de2 refactor Datastore impls so root/basePath creation is user's responsibility 2022-08-08 16:33:54 -05:00
Michael Bradley, Jr
249f63a589 add basic query implementation 2022-07-21 13:20:43 -05:00
Michael Bradley, Jr
bf6724b30a
capitalize AS so as to be consistent with capitalizing SELECT, etc. 2022-07-15 11:11:53 -05:00
Michael Bradley, Jr
ca9ee12aeb check column metadata in id/data/timestampCol
The goal is to detect mismatches between caller-supplied indexes and original
column names, and in that case crash the process by raising Defect. This should
help avoid harder to debug errors for such mismatches.

These helper procs are now higher-order, which allows column metadata checks to
be run only once, i.e. when setting up derivative helpers to be used in an
`onData` callback.

Use compile-time constants for column names and default indexes.

Adjust callback proc annotations to be more precise, and remove unnecessary
annotations.
2022-07-15 10:56:45 -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
a9b00efbd6 initial implementation 2022-06-22 13:16:43 -05:00