From 7de10ffcc7dcf8af637bf10a5771d8b9052f328d Mon Sep 17 00:00:00 2001
From: Fabian Adler <f.adler@adito.de>
Date: Fri, 21 Feb 2020 13:35:43 +0100
Subject: [PATCH] change .build() to newer version in documentation ->
 toString()

---
 process/ImporterMappingFunctions_lib/documentation.adoc | 2 +-
 process/Importer_lib/documentation.adoc                 | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/process/ImporterMappingFunctions_lib/documentation.adoc b/process/ImporterMappingFunctions_lib/documentation.adoc
index d67b122956..25cade1e2f 100644
--- a/process/ImporterMappingFunctions_lib/documentation.adoc
+++ b/process/ImporterMappingFunctions_lib/documentation.adoc
@@ -33,7 +33,7 @@ For Example if you have a "DataQuery" datasource your select could look like thi
 --
 newSelect("ID, FIELD1, FIELD2, FIELD3")
     .from("TABLE1")
-    .build();
+    .toString();
 --
 
 Therefore the field "ID" would have the place 0 and "FIELD1" would have 1 and so on. 
diff --git a/process/Importer_lib/documentation.adoc b/process/Importer_lib/documentation.adoc
index 8adfe69a1d..d02ea9aed6 100644
--- a/process/Importer_lib/documentation.adoc
+++ b/process/Importer_lib/documentation.adoc
@@ -145,7 +145,7 @@ var yourConfig = {
 var yourConfig = {
     DataQuery: newSelect("PERSONID, FIRSTNAME, LASTNAME, DOB")
         .from("PERSON")
-        .build(),
+        .toString(),
     ImportCommand: "insert",
     AliasTo: "Data_alias_NoAudit",
     AliasFrom: "Data_alias",
-- 
GitLab