mirror of
https://github.com/logos-storage/nim-datastore.git
synced 2026-01-05 23:23:10 +00:00
change to generics
This commit is contained in:
parent
24ca5f96c9
commit
9fe9951b91
@ -213,7 +213,7 @@ proc getDBFilePath*(path: string): ?!string =
|
||||
except CatchableError as exc:
|
||||
return failure(exc.msg)
|
||||
|
||||
proc close*(self: SQLiteDsDb) =
|
||||
proc close*[K, V](self: SQLiteDsDb[K, V]) =
|
||||
self.containsStmt.dispose
|
||||
self.getStmt.dispose
|
||||
self.beginStmt.dispose
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user