setup query

This commit is contained in:
Jaremy Creechley 2023-09-26 13:35:58 -07:00
parent 7a4b9acedc
commit 86ee5d912c
No known key found for this signature in database
GPG Key ID: 4E66FB67B21D3300

View File

@ -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