summary refs log tree commit diff stats
path: root/lib/impure/db_sqlite.nim
diff options
context:
space:
mode:
authorDominik Picheta <dominikpicheta@googlemail.com>2018-06-03 19:38:26 +0100
committerGitHub <noreply@github.com>2018-06-03 19:38:26 +0100
commit4a88c245d361700c5a4ee63e51b032203ed87e39 (patch)
treed67ca50d2c0bbb3e0bcb31662a680b24f4cb0372 /lib/impure/db_sqlite.nim
parent91765e583da91b8288e18e74d4196713dc2ede18 (diff)
parent381acc09e9a5c2d61a67f0f1f6b60d2efb577657 (diff)
downloadNim-4a88c245d361700c5a4ee63e51b032203ed87e39.tar.gz
Merge pull request #7949 from nim-lang/sqlite-use-empty-strings
Update sqlite example to use empty strings.
Diffstat (limited to 'lib/impure/db_sqlite.nim')
-rw-r--r--lib/impure/db_sqlite.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/impure/db_sqlite.nim b/lib/impure/db_sqlite.nim
index 6b8ca4881..fd25b2b94 100644
--- a/lib/impure/db_sqlite.nim
+++ b/lib/impure/db_sqlite.nim
@@ -57,7 +57,7 @@
 ##
 ##  import db_sqlite, math
 ##
-##  let theDb = open("mytest.db", nil, nil, nil)
+##  let theDb = open("mytest.db", "", "", "")
 ##
 ##  theDb.exec(sql"Drop table if exists myTestTbl")
 ##  theDb.exec(sql("""create table myTestTbl (