summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJamesP <jlp765@gmail.com>2015-10-13 07:34:32 +1000
committerDominik Picheta <dominikpicheta@gmail.com>2015-10-27 11:06:00 +0100
commita82b9cbda320be219f426705494a357a45bfa2b2 (patch)
treec1ff4a472d55108a187030cf2e1a7cb9bcd0c161
parent02d882cfbe8def0e421e310208f7a095aabe9b20 (diff)
downloadNim-a82b9cbda320be219f426705494a357a45bfa2b2.tar.gz
fix doco by removing extra ` chars, change a word and
line up multi-line text
-rw-r--r--lib/impure/db_postgres.nim14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/impure/db_postgres.nim b/lib/impure/db_postgres.nim
index aee20e096..26c131d3e 100644
--- a/lib/impure/db_postgres.nim
+++ b/lib/impure/db_postgres.nim
@@ -8,21 +8,21 @@
 #
 
 ## A higher level `PostgreSQL`:idx: database wrapper. This interface
-## is implemented for other databases too.
+## is implemented for other databases also.
 ##
 ##  **Note**: There are two approaches to **parameter substitution** in this module
 ##  1.  ``SqlQuery`` using ``?,?,?,...`` (same as the other db_xxxx modules)
 ##
 ##  .. code-block:: Nim
-##   ``sql"INSERT INTO myTable (colA,colB,colC) VALUES (?,?,?)"``
+##   sql"INSERT INTO myTable (colA,colB,colC) VALUES (?,?,?)"
 ##  2.  ``SqlPrepared``  using ``$1,$2,$3,...``  (the Postgres way, using numbered parameters)
 ##
 ##  .. code-block:: Nim
-##   ``prepare(theDb, "MyExampleInsert",
-##                    sql"""INSERT INTO myTable
-##                       (colA,colB,colC)
-##                       VALUES ($1,$2,$3)""",
-##                    3)``
+##   prepare(theDb, "MyExampleInsert",
+##                  sql"""INSERT INTO myTable
+##                    (colA,colB,colC)
+##                    VALUES ($1,$2,$3)""",
+##                    3)
 ##
 ## Example:
 ##