From 6afa4727161c356a5e8d53858c51844a5a1cb7ed Mon Sep 17 00:00:00 2001 From: Johannes Hoermann <j.hoermann@adito.de> Date: Mon, 11 Nov 2019 09:26:48 +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 a036b8325e..b9c66c4c94 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 SqlCondition.select("COL1") +new SqlBuilder.select("COL1") .from("TAB1") .where("TAB1.COL2", "myVal") .and("TAB1.COL3", "myVal"); @@ -124,7 +124,7 @@ new SqlCondition.select("COL1") looks better and more intuitive to read than [source,js] ---- -new SqlCondition.select("COL1") +new SqlBuilder.select("COL1") .from("TAB1") .and("TAB1.COL2", "myVal") .and("TAB1.COL3", "myVal"); -- GitLab