diff --git a/sqlite_actor.nimble b/sqlite_actor.nimble index 6c43a63..ba08d1f 100644 --- a/sqlite_actor.nimble +++ b/sqlite_actor.nimble @@ -1,4 +1,4 @@ -version = "20230527" +version = "20231010" author = "Emery Hemingway" description = "Syndicate Actor for accessing SQLite databases" license = "Unlicense" diff --git a/src/sqlite_actor.nim b/src/sqlite_actor.nim index 3c9ae22..4c1d385 100644 --- a/src/sqlite_actor.nim +++ b/src/sqlite_actor.nim @@ -51,7 +51,7 @@ proc finalize(stmt: Stmt): cint {.importSqlite3.} doAssert libversion_number() == SQLITE_VERSION_NUMBER -import preserves, syndicate +import preserves, syndicate, syndicate/relays import ./sql proc logError(db: Sqlite3; context: string) = @@ -61,7 +61,7 @@ type Value = Preserve[void] Args {.preservesDictionary.} = object database: string - dataspace: Ref + dataspace: Cap proc extractValue(stmt: Stmt; col: cint): Value = case column_type(stmt, col) @@ -84,9 +84,9 @@ proc extractRecord(stmt: Stmt; label: Value, arity: cint): Value = result = initRecord(label, arity) for col in 0..