diff --git a/process/Sql_lib/documentation.adoc b/process/Sql_lib/documentation.adoc index b9c66c4c9456e0a279e7845176269409c5037b2c..9dbe75b5cd3a532ef330eff991e8dc72b28ea0f1 100644 --- a/process/Sql_lib/documentation.adoc +++ b/process/Sql_lib/documentation.adoc @@ -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");