diff --git a/datastore/fsds.nim b/datastore/fsds.nim index 9ef5bce..44b87b0 100644 --- a/datastore/fsds.nim +++ b/datastore/fsds.nim @@ -46,13 +46,13 @@ method put*(self: FSDatastore, batch: seq[BatchEntry]): Future[?!void] {.async.} = await self.db.put(batch) -method close*(self: FSDatastore): Future[?!void] {.async.} = - await self.db.close() - method query*(self: FSDatastore, q: Query): Future[?!QueryIter] {.async.} = await self.db.query(q) +method close*(self: FSDatastore): Future[?!void] {.async.} = + await self.db.close() + proc new*( T: type FSDatastore, root: string,