mirror of
https://github.com/logos-storage/nim-datastore.git
synced 2026-01-03 14:13:09 +00:00
add memory (test) ds
This commit is contained in:
parent
9b29a00a92
commit
170d50dd92
@ -82,7 +82,7 @@ method put*(
|
||||
|
||||
return success()
|
||||
|
||||
proc keyIterator(self: MemoryDatastore, queryKey: string): iterator: KeyBuffer =
|
||||
proc keyIterator(self: MemoryDatastore, queryKey: string): iterator: KeyBuffer {.gcsafe.} =
|
||||
return iterator(): KeyBuffer {.closure.} =
|
||||
let keys = self.store.keys().toSeq()
|
||||
for key in keys:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user