mirror of
https://github.com/logos-storage/nim-datastore.git
synced 2026-01-05 23:23:10 +00:00
setup query
This commit is contained in:
parent
7a4b9acedc
commit
86ee5d912c
@ -235,9 +235,10 @@ proc queryTask[DB](
|
||||
(?!QResult).ok(default(QResult))
|
||||
else:
|
||||
(?!QResult).err(qh.error())
|
||||
if qh.isErr():
|
||||
return
|
||||
|
||||
var handle = qh.get()
|
||||
|
||||
for item in handle.iter():
|
||||
executeTask(ctx):
|
||||
item
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user