diff --git a/src/db_postgres.nim b/src/db_postgres.nim index 800673ca0d..ec804072fd 100644 --- a/src/db_postgres.nim +++ b/src/db_postgres.nim @@ -14,7 +14,7 @@ ## `db_mysql `_. ## ## Parameter substitution -## ---------------------- +## ====================== ## ## All ``db_*`` modules support the same form of parameter substitution. ## That is, using the ``?`` (question mark) to signify the place where a @@ -38,10 +38,10 @@ ## 3) ## ## Examples -## -------- +## ======== ## ## Opening a connection to a database -## ================================== +## ---------------------------------- ## ## .. code-block:: Nim ## import db_postgres @@ -49,7 +49,7 @@ ## db.close() ## ## Creating a table -## ================ +## ---------------- ## ## .. code-block:: Nim ## db.exec(sql"DROP TABLE IF EXISTS myTable") @@ -58,7 +58,7 @@ ## name varchar(50) not null)""")) ## ## Inserting data -## ============== +## -------------- ## ## .. code-block:: Nim ## db.exec(sql"INSERT INTO myTable (id, name) VALUES (0, ?)",