79 Commits

Author SHA1 Message Date
Dmitriy Ryajov
af310306ad
enable sqllite threading tests 2023-09-14 17:56:20 -06:00
Dmitriy Ryajov
6c86d2b10e
make sure all tests pass 2023-09-13 14:43:25 -06:00
Dmitriy Ryajov
88eb96edb3
don't use toSeq 2023-09-13 14:43:10 -06:00
Dmitriy Ryajov
b7454d6e3d
foreign buffer 2023-09-11 14:48:53 -06:00
Dmitriy Ryajov
146cbcb88a
wip 2023-09-08 15:09:15 -06:00
Dmitriy Ryajov
6c3b0d60fb
fix unitest2 import 2023-09-07 17:33:33 -06:00
Jaremy Creechley
24ce85e49b
add tests for new ds'es 2023-09-07 17:31:21 -06:00
Jaremy Creechley
619d3e9d56
add tests for new ds'es 2023-09-07 17:31:21 -06:00
Jaremy Creechley
0caa606f3e
fix test 2023-09-07 17:31:21 -06:00
Jaremy Creechley
1f0012530d
fix compiler issue -- wasn't detecting discard on result correctly 2023-09-07 17:31:20 -06:00
Jaremy Creechley
2d2b663516
compiler really doesn't like this 2023-09-07 17:31:20 -06:00
Jaremy Creechley
221d193b80
query iterator using items is breaks when the DS isn't blocking 2023-09-07 17:31:20 -06:00
Jaremy Creechley
8fccc77387
query iterator using items is breaks when the DS isn't blocking 2023-09-07 17:31:20 -06:00
Jaremy Creechley
9b004cde03
query iterator using items is breaks when the DS isn't blocking 2023-09-07 17:31:20 -06:00
Jaremy Creechley
ed508b4be9
query iterator using items is breaks when the DS isn't blocking 2023-09-07 17:31:20 -06:00
Jaremy Creechley
52286b8b39
query iterator using items is breaks when the DS isn't blocking 2023-09-07 17:31:20 -06:00
Jaremy Creechley
2c881d9eef
cleanup 2023-09-07 17:31:19 -06:00
Jaremy Creechley
76ec7e7f16
implementing query type 2023-09-07 17:31:19 -06:00
Jaremy Creechley
2979ae08fd
implementing query type 2023-09-07 17:31:18 -06:00
Jaremy Creechley
7a3c64d425
switch to result type 2023-09-07 17:31:17 -06:00
Jaremy Creechley
5f13765a49
switch to result type 2023-09-07 17:31:17 -06:00
Jaremy Creechley
485f2ecaed
cleanup 2023-09-07 17:31:17 -06:00
Jaremy Creechley
a2c9a7efc3
various cleanup 2023-09-07 17:31:16 -06:00
Jaremy Creechley
22c9d8556a
rename sharedds to threadproxyds 2023-09-07 17:31:16 -06:00
Jaremy Creechley
40cc03e3c3
updates 2023-09-07 17:31:15 -06:00
Jaremy Creechley
6364c8316d
test setup 2023-09-07 17:31:15 -06:00
Jaremy Creechley
a68ce94c8d
test setup 2023-09-07 17:31:15 -06:00
Jaremy Creechley
03830cef8f
cleanup 2023-09-07 17:31:15 -06:00
Jaremy Creechley
b27593e8cf
cleanup 2023-09-07 17:31:15 -06:00
Jaremy Creechley
a11a681a6f
basic datstore checks 2023-09-07 17:31:14 -06:00
Jaremy Creechley
344ba6a19b
basic datstore checks 2023-09-07 17:31:14 -06:00
Jaremy Creechley
23423e52a9
add memory (test) ds 2023-09-07 17:31:14 -06:00
Jaremy Creechley
de406a5b11
add memory (test) ds 2023-09-07 17:31:13 -06:00
Jaremy Creechley
904d65b98a
add memory (test) ds 2023-09-07 17:31:13 -06:00
Jaremy Creechley
727f8b6c2a
properly close signal even on cancel 2023-09-07 17:31:12 -06:00
Jaremy Creechley
86a7085539
switching up 2023-09-07 17:31:11 -06:00
Jaremy Creechley
6c133a2551
cleanup 2023-09-07 17:31:11 -06:00
Jaremy Creechley
0b2e016883
adding sharedds get 2023-09-07 17:31:11 -06:00
Jaremy Creechley
f66531de06
passing put args 2023-09-07 17:31:11 -06:00
Jaremy Creechley
8ab5da01c6
create backend 2023-09-07 17:31:10 -06:00
Jaremy Creechley
464896bf88
adding test backend 2023-09-07 17:31:10 -06:00
Jaremy Creechley
0daf1683e8
adding testing 2023-09-07 17:31:09 -06:00
Jaremy Creechley
edc9321658
updates 2023-09-07 17:31:07 -06:00
Jaremy Creechley
e81c5faf40
add helpers 2023-09-07 17:31:07 -06:00
Jaremy Creechley
542fdf268c
initial data buffer 2023-09-07 17:31:06 -06:00
Dmitriy Ryajov
030dc9e16e
fix conflicting testing symbols 2023-09-07 17:26:34 -06:00
Dmitriy Ryajov
b322d0bb8e
setup the path correctly 2023-09-07 17:26:16 -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