53 Commits

Author SHA1 Message Date
Jaremy Creechley
1c2c5f1020
refactor - tests 2023-09-27 18:57:17 -07:00
Jaremy Creechley
439fd92d50
refactor tests 2023-09-27 18:11:28 -07:00
Jaremy Creechley
36ec858dcc
refactor tests 2023-09-27 18:06:23 -07:00
Jaremy Creechley
e2b6005918
cleanup 2023-09-26 20:10:46 -07:00
Jaremy Creechley
c67b61aa50
cleanup 2023-09-26 20:07:02 -07:00
Jaremy Creechley
2255ea1c1c
Revert "cleanup"
This reverts commit 55b118c055833c28d6fca4eaae7aeba10a74c4b8.
2023-09-26 20:03:22 -07:00
Jaremy Creechley
55b118c055
cleanup 2023-09-26 19:56:17 -07:00
Jaremy Creechley
84cdc1d8ca
query fixes 2023-09-25 20:27:44 -07:00
Jaremy Creechley
a637e66935
query fixes 2023-09-25 20:26:26 -07:00
Jaremy Creechley
289a8446bb
query fixes 2023-09-25 20:24:25 -07:00
Jaremy Creechley
d3eb55fc75
query fixes 2023-09-25 20:20:37 -07:00
Jaremy Creechley
2de2650fb5
query fixes 2023-09-25 20:19:33 -07:00
Jaremy Creechley
2e2da52b30
query fixes 2023-09-25 20:02:01 -07:00
Jaremy Creechley
a16cdaab29
query fixes 2023-09-25 19:58:03 -07:00
Jaremy Creechley
ebed992f5a
query fixes 2023-09-25 19:54:22 -07:00
Jaremy Creechley
62c9e7c583
query fixes 2023-09-25 19:14:10 -07:00
Jaremy Creechley
1f23fe57d3
query fixes 2023-09-25 19:03:59 -07:00
Jaremy Creechley
ccd5d642d9
query fixes 2023-09-25 18:59:03 -07:00
Jaremy Creechley
ca108f53bd
query fixes 2023-09-25 18:57:02 -07:00
Jaremy Creechley
04a30da700
change to generics 2023-09-25 18:12:48 -07:00
Jaremy Creechley
dbfb54f026
change to generics 2023-09-25 18:05:35 -07:00
Jaremy Creechley
92dcbf70ae
change to non-closure iterator 2023-09-25 17:49:17 -07:00
Jaremy Creechley
0336b93360
change to non-closure iterator 2023-09-25 17:35:37 -07:00
Jaremy Creechley
0efc7f6c4b
change to non-closure iterator 2023-09-25 16:15:35 -07:00
Jaremy Creechley
f0fc8ce224
change to non-closure iterator 2023-09-25 16:08:59 -07:00
Jaremy Creechley
598f63c651
change to non-closure iterator 2023-09-25 15:54:07 -07:00
Jaremy Creechley
0a86a3466a
change to non-closure iterator 2023-09-25 15:43:27 -07:00
Jaremy Creechley
10ab970cdf
changes 2023-09-25 15:31:22 -07:00
Jaremy Creechley
d6d5978d5c
porting query tests 2023-09-21 19:08:19 -07:00
Jaremy Creechley
a339bb3c95
porting query tests 2023-09-21 18:50:48 -07:00
Jaremy Creechley
3ae1c60fa1
porting query tests 2023-09-21 18:49:08 -07:00
Jaremy Creechley
4750ac69df
implementing query 2023-09-21 18:08:00 -07:00
Jaremy Creechley
d165ff2482
tests 2023-09-20 23:44:09 -07:00
Jaremy Creechley
398342be76
key batch 2023-09-20 23:28:50 -07:00
Jaremy Creechley
4d26f707e5
key batch 2023-09-20 23:16:24 -07:00
Jaremy Creechley
8c71655593
add index 2023-09-20 23:07:52 -07:00
Jaremy Creechley
937e1b79e8
test generic 2023-09-20 22:49:11 -07:00
Jaremy Creechley
cf2cbd3e1a
fix test 2023-09-20 22:45:47 -07:00
Jaremy Creechley
8b494907c6
fix test 2023-09-20 22:43:56 -07:00
Jaremy Creechley
9362fcbb07
fix test 2023-09-20 22:23:18 -07:00
Jaremy Creechley
d35bbea741
fix test 2023-09-20 22:13:01 -07:00
Jaremy Creechley
3b66afba6e
fix test 2023-09-20 22:12:53 -07:00
Dmitriy Ryajov
030dc9e16e
fix conflicting testing symbols 2023-09-07 17:26:34 -06:00
Dmitriy Ryajov
44c198b96a
rework contains to return a bool (#39) 2022-12-02 16:25:44 -06:00
Dmitriy Ryajov
9d49c8016e
Several fixes and missing features (#38)
* shorten lines

* only return data when `query.value == true`

* test `query.value = false`

* close mounted ds

* allow passing dispose to query iter constructor

* fix fs querying

* use currentSourcePath

* remove `dsobj` extensions from directories

* don't return error on missing key delete

* return `DatastoreKeyNotFound` on empty `get`

* return `DatastoreKeyNotFound` on missing sql key
2022-11-22 15:23:23 -06:00
Dmitriy Ryajov
6c06a3b095
Adding batching capabilities (#37)
* adding batch entry

* add batched put and delete

* add batched tests

* adding batching capabilities to remaining stores

* open db in readonly mode

* make naming consistent

* release prepared statements

* don't use deprecated add

* check file exists on test exit

* remove unused var
2022-09-30 08:24:26 -06:00
Dmitriy Ryajov
446de6f978
Fsds query (#32)
* add basic query capabilities to fsds

* rename common tests

* make query tests common

* sanitize key

* check it's possible to query keys at same level
2022-09-20 18:18:33 -06:00
Dmitriy Ryajov
02167bb69e
Add proper sqlite query support (#30)
* Add query support for sqlite backend

* basic tests with in memory ds

* remove `close` default implementation
2022-09-20 14:41:54 -06:00
Dmitriy Ryajov
e6430b6b85
close db 2022-09-20 09:51:28 -06:00
Dmitriy Ryajov
a045aa4ef1
close db 2022-09-19 23:11:57 -06:00