diff options
Diffstat (limited to 'lib/impure/db_postgres.nim')
-rw-r--r-- | lib/impure/db_postgres.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/impure/db_postgres.nim b/lib/impure/db_postgres.nim index aea3ece71..034a94852 100644 --- a/lib/impure/db_postgres.nim +++ b/lib/impure/db_postgres.nim @@ -47,7 +47,7 @@ ## To use Unix sockets with `db_postgres`, change the server address to the socket file path: ## ## .. code-block:: Nim -## import db_postgres ## Change "localhost" or "127.0.0.1" to the socket file path +## import std/db_postgres ## Change "localhost" or "127.0.0.1" to the socket file path ## let db = db_postgres.open("/run/postgresql", "user", "password", "database") ## echo db.getAllRows(sql"SELECT version();") ## db.close() @@ -64,7 +64,7 @@ ## ---------------------------------- ## ## .. code-block:: Nim -## import db_postgres +## import std/db_postgres ## let db = open("localhost", "user", "password", "dbname") ## db.close() ## |