Jaremy Creechley
a13526a886
cleanup
2023-08-31 15:40:43 -07:00
Jaremy Creechley
f711f17729
add tests for new ds'es
2023-08-30 18:46:30 -07:00
Jaremy Creechley
6ae1625106
add tests for new ds'es
2023-08-30 18:24:12 -07:00
Jaremy Creechley
e20536ba59
fix test
2023-08-30 18:22:05 -07:00
Jaremy Creechley
83a648d046
fix compiler issue -- wasn't detecting discard on result correctly
2023-08-29 20:49:43 -07:00
Jaremy Creechley
b010d0a985
compiler really doesn't like this
2023-08-29 20:42:53 -07:00
Jaremy Creechley
a13dee6ea1
query iterator using items is breaks when the DS isn't blocking
2023-08-29 20:38:29 -07:00
Jaremy Creechley
fb09217a54
query iterator using items is breaks when the DS isn't blocking
2023-08-29 20:34:30 -07:00
Jaremy Creechley
d02a416814
query iterator using items is breaks when the DS isn't blocking
2023-08-29 20:32:28 -07:00
Jaremy Creechley
057493c809
query iterator using items is breaks when the DS isn't blocking
2023-08-29 20:25:47 -07:00
Jaremy Creechley
191aa3f558
query iterator using items is breaks when the DS isn't blocking
2023-08-29 20:15:54 -07:00
Jaremy Creechley
5b5c262068
cleanup
2023-08-29 17:13:13 -07:00
Jaremy Creechley
1594977abf
implementing query type
2023-08-29 17:00:11 -07:00
Jaremy Creechley
003d4816b0
implementing query type
2023-08-29 16:40:11 -07:00
Jaremy Creechley
6222642c1b
switch to result type
2023-08-29 14:43:05 -07:00
Jaremy Creechley
4f7cde4565
switch to result type
2023-08-29 14:40:44 -07:00
Jaremy Creechley
acab4ffa5b
cleanup
2023-08-29 14:04:51 -07:00
Jaremy Creechley
02956c6fb9
various cleanup
2023-08-29 13:14:33 -07:00
Jaremy Creechley
0f32ea2344
rename sharedds to threadproxyds
2023-08-29 12:50:36 -07:00
Jaremy Creechley
ae584e900a
updates
2023-08-28 22:26:00 -07:00
Jaremy Creechley
7b053c8b2b
test setup
2023-08-28 22:18:08 -07:00
Jaremy Creechley
bf663c4d90
test setup
2023-08-28 21:59:31 -07:00
Jaremy Creechley
a06adf3388
cleanup
2023-08-28 21:56:29 -07:00
Jaremy Creechley
9c3542ac3d
cleanup
2023-08-28 21:45:55 -07:00
Jaremy Creechley
f0e79a696e
basic datstore checks
2023-08-28 19:55:05 -07:00
Jaremy Creechley
0f0a85a046
basic datstore checks
2023-08-28 19:51:34 -07:00
Jaremy Creechley
af73966357
add memory (test) ds
2023-08-28 19:44:41 -07:00
Jaremy Creechley
5cc0af4b56
add memory (test) ds
2023-08-28 18:43:42 -07:00
Jaremy Creechley
344b50c703
add memory (test) ds
2023-08-28 18:22:53 -07:00
Jaremy Creechley
892bd550d5
properly close signal even on cancel
2023-08-25 15:00:18 -07:00
Jaremy Creechley
73899e7fcf
switching up
2023-08-25 14:34:11 -07:00
Jaremy Creechley
ef402c4276
cleanup
2023-08-24 22:20:49 -07:00
Jaremy Creechley
93898c4e24
adding sharedds get
2023-08-24 22:14:21 -07:00
Jaremy Creechley
5501126b99
passing put args
2023-08-24 21:55:53 -07:00
Jaremy Creechley
591b7f1fd4
create backend
2023-08-24 21:18:22 -07:00
Jaremy Creechley
9e6be88af7
adding test backend
2023-08-24 19:59:37 -07:00
Jaremy Creechley
f7a4f82e9b
adding testing
2023-08-24 19:51:04 -07:00
Jaremy Creechley
37d2c8c06b
updates
2023-08-24 16:18:31 -07:00
Jaremy Creechley
597b16e3c3
add helpers
2023-08-24 15:25:15 -07:00
Jaremy Creechley
81eb8034da
initial data buffer
2023-08-24 15:19:52 -07: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
308b5c08be
Better fsds path sanitization ( #31 )
...
* add better path sanytizing
* rebase master
* Bugfixed and moved all checks into path()
* added check for empty basename in order to avoid bug in isValidFilename
* refactored - all filename checks are moved into path() function that constructs this filename
Co-authored-by: Bulat-Ziganshin <bulat.ziganshin@gmail.com>
2022-09-29 11:56:24 -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
a3781edc6a
remove path sanitization for now, address in upcoming pr
2022-09-20 09:16:56 -06:00
Dmitriy Ryajov
a045aa4ef1
close db
2022-09-19 23:11:57 -06:00