48 Commits

Author SHA1 Message Date
Jaremy Creechley
269aec68f3
change to generics 2023-09-25 17:51:54 -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
85352e8bc5
change to non-closure iterator 2023-09-25 16:16:00 -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
7bb11c0e0b
change to non-closure iterator 2023-09-25 16:06:09 -07:00
Jaremy Creechley
598f63c651
change to non-closure iterator 2023-09-25 15:54:07 -07:00
Jaremy Creechley
f8ba1e7684
change to non-closure iterator 2023-09-25 15:46:03 -07:00
Jaremy Creechley
0a86a3466a
change to non-closure iterator 2023-09-25 15:43:27 -07:00
Jaremy Creechley
185f162050
porting query tests 2023-09-21 19:23:23 -07:00
Jaremy Creechley
0971986863
porting query tests 2023-09-21 19:19:29 -07:00
Jaremy Creechley
d6d5978d5c
porting query tests 2023-09-21 19:08:19 -07:00
Jaremy Creechley
3d7c3d2d2f
porting query tests 2023-09-21 18:54:42 -07:00
Jaremy Creechley
cbb38a51fb
trying to fixup query 2023-09-21 18:29:07 -07:00
Jaremy Creechley
4750ac69df
implementing query 2023-09-21 18:08:00 -07:00
Jaremy Creechley
8356f6cd97
re-add async frontend 2023-09-21 17:52:06 -07:00
Jaremy Creechley
06cb6fc8b0
rename to SQLiteBackend 2023-09-21 17:31:47 -07:00
Jaremy Creechley
113f59cecc
don't store string 2023-09-21 17:21:20 -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
76b952c928
fix test 2023-09-20 22:44:37 -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
3b66afba6e
fix test 2023-09-20 22:12:53 -07:00
Jaremy Creechley
357ab44b90
refactoring to non-async 2023-09-20 21:21:15 -07:00
Jaremy Creechley
5752eb01e1
refactoring to non-async 2023-09-20 20:59:06 -07:00
Jaremy Creechley
10d4031c5c
refactoring to non-async 2023-09-20 20:57:47 -07:00
Jaremy Creechley
8800a2ccc0
databuffer type 2023-09-20 20:31:42 -07:00
Jaremy Creechley
8b4f388bb3
databuffer type 2023-09-20 20:26:34 -07:00
Jaremy Creechley
ab5f8da736
databuffer type 2023-09-20 20:14:08 -07:00
Jaremy Creechley
29ff227d37
databuffer type 2023-09-20 20:04:44 -07:00
Jaremy Creechley
f7a933a60a
openArray 2023-09-20 17:49:57 -07:00
Jaremy Creechley
ea3546f5b3
refactor sqliteds 2023-09-20 17:19:03 -07:00
Jaremy Creechley
84bbfa687e
refactor sqliteds 2023-09-20 17:12:19 -07:00
Dmitriy Ryajov
600dca6148
adding serialization to query iter 2023-09-14 18:34:20 -06:00
Ben Bierens
0cde8aeb67
enables stylecheck (#40) 2023-03-09 10:24:44 +01: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
f5dadd93be
Adding mounted store (#33)
* adding monted store

* misc spelling

* adding mounted store tests to suite

* split out key

* relaxed key initialization

* always mount and lookup by path

* cleaned up and reorged tests

* test lookup by path

* add re-exports

* more re-exports

* fix warnings and re-exports
2022-09-21 18:13:50 -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
fc842663bb
implement close method for sqlite 2022-09-19 22:40:01 -06:00
Dmitriy Ryajov
f9cfab5cbc
commend out query for now 2022-09-19 17:29:32 -06:00
Dmitriy Ryajov
13bc02f595
split out and cleanup sql lite store 2022-09-16 21:14:31 -06:00