summary refs log tree commit diff stats
path: root/lib/impure
diff options
context:
space:
mode:
authorVarriount <Varriount@users.noreply.github.com>2018-06-03 14:37:41 -0400
committerGitHub <noreply@github.com>2018-06-03 14:37:41 -0400
commit381acc09e9a5c2d61a67f0f1f6b60d2efb577657 (patch)
treed67ca50d2c0bbb3e0bcb31662a680b24f4cb0372 /lib/impure
parent91765e583da91b8288e18e74d4196713dc2ede18 (diff)
downloadNim-381acc09e9a5c2d61a67f0f1f6b60d2efb577657.tar.gz
Update sqlite example to use empty strings.
Update sqlite example to use empty strings to use empty strings instead of nil.
Diffstat (limited to 'lib/impure')
-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 (