mirror of
https://github.com/logos-storage/nim-datastore.git
synced 2026-01-10 17:43:13 +00:00
query fixes
This commit is contained in:
parent
d3eb55fc75
commit
289a8446bb
@ -303,7 +303,7 @@ suite "queryTests":
|
||||
|
||||
var
|
||||
handle = ds.query(q).tryGet
|
||||
res = handle.iter().toSeq().mapIt(it.tryGet()).reversed()
|
||||
res = handle.iter().toSeq().mapIt(it.tryGet())
|
||||
|
||||
check:
|
||||
res.len == 5
|
||||
@ -315,7 +315,7 @@ suite "queryTests":
|
||||
|
||||
check:
|
||||
res[i].key.get == key
|
||||
res[i].data == val
|
||||
# res[i].data == val
|
||||
|
||||
|
||||
# test "Should apply sort order - descending":
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user