From ec08afd847d5b5ab5c2fbc7aacc708ebe1ab027c Mon Sep 17 00:00:00 2001 From: Zed Date: Tue, 23 Apr 2019 08:40:20 +0200 Subject: [PATCH] Fix header inconsistencies in documentation (#11071) --- src/db_mysql.nim | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/db_mysql.nim b/src/db_mysql.nim index 2fcb562026..9c24de33a6 100644 --- a/src/db_mysql.nim +++ b/src/db_mysql.nim @@ -14,7 +14,7 @@ ## `db_postgres `_. ## ## Parameter substitution -## ---------------------- +## ====================== ## ## All ``db_*`` modules support the same form of parameter substitution. ## That is, using the ``?`` (question mark) to signify the place where a @@ -25,10 +25,10 @@ ## ## ## Examples -## -------- +## ======== ## ## Opening a connection to a database -## ================================== +## ---------------------------------- ## ## .. code-block:: Nim ## import db_mysql @@ -36,7 +36,7 @@ ## db.close() ## ## Creating a table -## ================ +## ---------------- ## ## .. code-block:: Nim ## db.exec(sql"DROP TABLE IF EXISTS myTable") @@ -45,14 +45,14 @@ ## name varchar(50) not null)""")) ## ## Inserting data -## ============== +## -------------- ## ## .. code-block:: Nim ## db.exec(sql"INSERT INTO myTable (id, name) VALUES (0, ?)", ## "Dominik") ## ## Larger example -## ============== +## -------------- ## ## .. code-block:: Nim ##