36 Commits

Author SHA1 Message Date
Jaremy Creechley
6745c29efd
tests 2023-09-20 23:50:57 -07:00
Jaremy Creechley
bab5cb989c
tests 2023-09-20 23:48:29 -07:00
Jaremy Creechley
8fe5e3df05
key batch 2023-09-20 23:36:20 -07:00
Jaremy Creechley
9243b6b976
key batch 2023-09-20 23:35:02 -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
61bdc6b88a
fix test 2023-09-20 21:57:31 -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
77efc50469
openArray 2023-09-20 18:08:27 -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
7ceccf9a72
get rid of unsafeAddr everywhere 2023-09-19 21:54:02 -06: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