diff --git a/sqlcipher.nim b/sqlcipher.nim index 3b4abfb..63af0ac 100644 --- a/sqlcipher.nim +++ b/sqlcipher.nim @@ -170,6 +170,7 @@ proc `$`*(dbVal: DbValue): string = of sqliteBlob: result.add "" of sqliteNull: result.add "nil" result.add "]" +]# proc exec*(db: DbConn, sql: string, params: varargs[DbValue, toDbValue]) = ## Executes ``sql`` and raises SqliteError if not successful. @@ -178,6 +179,7 @@ proc exec*(db: DbConn, sql: string, params: varargs[DbValue, toDbValue]) = defer: prepared.finalize() discard prepared.next +#[ # TODO: uncomment and test proc execMany*(db: DbConn, sql: string, params: seq[seq[DbValue]]) = ## Executes ``sql`` repeatedly using each element of ``params`` as parameters.