-
Notifications
You must be signed in to change notification settings - Fork 34
/
nbook.nim
26 lines (21 loc) · 899 Bytes
/
nbook.nim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import nimibook
var book = initBookWithToc:
entry("Welcome to Norm!", "index.nim")
entry("Models 101", "models.nim")
section("Tutorial", "tutorial.nim"):
entry("Tables", "tutorial/tables.nim")
entry("Simple Queries", "tutorial/rows.nim")
entry("Advanced Queries", "tutorial/rowsAdvanced.nim")
entry("Many-To-One/Many Queries", "tutorial/rowsManyToX.nim")
entry("Raw SQL interactions", "tutorial/rawSelects.nim")
entry("Row Caveats", "tutorial/rowCaveats.nim")
entry("Transactions", "transactions.nim")
entry("Indexes", "indexes.nim")
entry("Configuration from Environment", "config.nim")
entry("Connection Pool", "pool.nim")
entry("Manual Foreign Key Handling", "fk.nim")
entry("Custom Datatypes", "customDatatypes.nim")
entry("Fancy Syntax", "fancy.nim")
entry("Debugging SQL", "debug.nim")
entry("Changelog", "changelog.nim")
nimibookCli(book)