Skip to content

Commit 0234373

Browse files
committed
Fix readme
1 parent 1d638eb commit 0234373

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ It is meant to be used with desktop and mobile apps.
1010
Place the library in the message path, then call the rigLoadDatabase
1111
function to connect to your database like:
1212

13-
`get rigLoadDatabase(tParams, tReturn, tActiveGroup, tOptions)`
13+
get rigLoadDatabase(tParams, tReturn, tActiveGroup, tOptions)
1414

1515
- **tParams** can optionally be a path
1616
to a database or an array of database settings like the settings
@@ -28,11 +28,13 @@ Alternatively you can connect to an in-memory database or to a
2828
new database. Build an initial table using the rigNewTableStructure()
2929
function and connect using the rigConnectDB handler like:
3030

31-
`put "INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT" into tInitTableA["recipe"][1]["ID"]
32-
put "varchar(255,0) DEFAULT NULL" into tInitTableA["recipe"][2]["Name"]
33-
put "TEXT" into tInitTableA["recipe"][3]["Directions"]
34-
put rigNewTableStructure(tInitTableA) into tInitTable
35-
rigConnectDB tDBfilePath, tInitTable tReturn tActiveGroup tOptions`
31+
put "INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT" into tInitTableA["recipe"][1]["ID"]
32+
put "varchar(255,0) DEFAULT NULL" into tInitTableA["recipe"][2]["Name"]
33+
put "TEXT" into tInitTableA["recipe"][3]["Directions"]
34+
35+
put rigNewTableStructure(tInitTableA) into tInitTable
36+
37+
rigConnectDB tDBfilePath, tInitTable tReturn tActiveGroup tOptions
3638

3739
- **tDBfilePath** the value of this optional parameter can be
3840
empty or a file path or "memory" or "mem" or "in-memory" or

0 commit comments

Comments
 (0)