From fb481c0df8a472512b642247943832919026fa48 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_sqlite.nim | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/db_sqlite.nim b/src/db_sqlite.nim index 3910992bb1..ad2be5882f 100644 --- a/src/db_sqlite.nim +++ b/src/db_sqlite.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 @@ -24,10 +24,10 @@ ## sql"INSERT INTO myTable (colA, colB, colC) VALUES (?, ?, ?)" ## ## Examples -## -------- +## ======== ## ## Opening a connection to a database -## ================================== +## ---------------------------------- ## ## .. code-block:: Nim ## import db_sqlite @@ -35,7 +35,7 @@ ## db.close() ## ## Creating a table -## ================ +## ---------------- ## ## .. code-block:: Nim ## db.exec(sql"DROP TABLE IF EXISTS myTable") @@ -44,14 +44,14 @@ ## name varchar(50) not null)""")) ## ## Inserting data -## ============== +## -------------- ## ## .. code-block:: Nim ## db.exec(sql"INSERT INTO myTable (id, name) VALUES (0, ?)", ## "Jack") ## ## Larger example -## ============== +## -------------- ## ## .. code-block:: nim ##