mirror of
https://github.com/logos-storage/nim-datastore.git
synced 2026-01-03 06:03:06 +00:00
refactor - tests
This commit is contained in:
parent
cac5d52b35
commit
d4a7549e12
@ -230,7 +230,7 @@ iterator iter*[K, V](handle: var DbQueryHandle[K, V, FsQueryEnv[K,V]]
|
||||
yield DbQueryResponse[K,V].failure flres.error()
|
||||
|
||||
let
|
||||
key = K.toKey(keyPath)
|
||||
key = K.toKey($Key.init(keyPath).expect("valid key"))
|
||||
data =
|
||||
if handle.query.value:
|
||||
let res = readFile[V](handle.env.self, flres.get)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user