Skip to content
Snippets Groups Projects
Commit 098f14a4 authored by Johannes Hörmann's avatar Johannes Hörmann
Browse files

fix sql lib docu

parent 6afa4727
No related branches found
No related tags found
No related merge requests found
......@@ -116,7 +116,7 @@ and for each of them also a variant with *IfSet: (see chapter "*IfSet")
`where` has always to be used as the first condition. This is mainly for a better semantic:
[source,js]
----
new SqlBuilder.select("COL1")
new SqlBuilder().select("COL1")
.from("TAB1")
.where("TAB1.COL2", "myVal")
.and("TAB1.COL3", "myVal");
......@@ -124,7 +124,7 @@ new SqlBuilder.select("COL1")
looks better and more intuitive to read than
[source,js]
----
new SqlBuilder.select("COL1")
new SqlBuilder().select("COL1")
.from("TAB1")
.and("TAB1.COL2", "myVal")
.and("TAB1.COL3", "myVal");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment