From 098f14a4639deef76a934b01a2c42b66780d464b Mon Sep 17 00:00:00 2001 From: Johannes Hoermann <j.hoermann@adito.de> Date: Mon, 11 Nov 2019 10:20:00 +0100 Subject: [PATCH] fix sql lib docu --- process/Sql_lib/documentation.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/process/Sql_lib/documentation.adoc b/process/Sql_lib/documentation.adoc index b9c66c4c94..9dbe75b5cd 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"); -- GitLab