Commit 1bc13556 authored by Carsten  Rose's avatar Carsten Rose
Browse files

Manual.rst: fixed some typo in examples.

parent a46d9d30
......@@ -4727,7 +4727,7 @@ See the example below:
::
10.sql = SELECT id AS _pId, CONCAT(firstName, " ", lastName, " ") AS name FROM person
10.rsep = <br />
10.rsep = <br>
10.10.sql = SELECT CONCAT(postal_code, " ", city) FROM address WHERE pId = {{10.pId}}
10.10.rbeg = (
......@@ -6180,7 +6180,7 @@ Result:
::
10.sql = SELECT "Hello World<br />"
10.sql = SELECT "Hello World<br>"
20.sql = SELECT "Say hello"
..
......@@ -6266,7 +6266,7 @@ Two columns
# Add the formating information as a coloum
10.sql = SELECT p.firstName, " " , p.lastName, "'<br /'>" FROM exp_person AS p
10.sql = SELECT p.firstName, " " , p.lastName, "<br>" FROM exp_person AS p
..
......@@ -6292,7 +6292,7 @@ One column 'rend'
10.sql = SELECT p.name FROM exp_person AS p
10.rend = <br />
10.rend = <br>
..
......@@ -6344,19 +6344,19 @@ The same as above, but with braces::
Two queries: ::
10.sql = SELECT p.name FROM exp_person AS p
10.rend = <br />
10.rend = <br>
20.sql = SELECT a.street FROM exp_address AS a
20.rend = <br />
20.rend = <br>
Two queries: nested ::
# outer query
10.sql = SELECT p.name FROM exp_person AS p
10.rend = <br />
10.rend = <br>
# inner query
10.10.sql = SELECT a.street FROM exp_address AS a
10.10.rend = <br />
10.10.rend = <br>
* For every record of '10', all records of 10.10 will be printed.
......@@ -6364,33 +6364,33 @@ Two queries: nested with variables ::
# outer query
10.sql = SELECT p.id, p.name FROM exp_person AS p
10.rend = <br />
10.rend = <br>
# inner query
10.10.sql = SELECT a.street FROM exp_address AS a WHERE a.pId='{{10.id}}'
10.10.rend = <br />
10.10.rend = <br>
* For every record of '10', all assigned records of 10.10 will be printed.
Two queries: nested with hidden variables in a table ::
10.sql = SELECT p.id AS _pId, p.name FROM exp_person AS p
10.rend = <br />
10.rend = <br>
# inner query
10.10.sql = SELECT a.street FROM exp_address AS a WHERE a.pId='{{10.pId}}'
10.10.rend = <br />
10.10.rend = <br>
Same as above, but written in the nested notation ::
10 {
sql = SELECT p.id AS _pId, p.name FROM exp_person AS p
rend = <br />
rend = <br>
10 {
# inner query
sql = SELECT a.street FROM exp_address AS a WHERE a.pId='{{10.pId}}'
rend = <br />
rend = <br>
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment