From 91dffa860e12463021c0b1ef59e7636cd3d8f38c Mon Sep 17 00:00:00 2001 From: Zubair Quraishi Date: Tue, 5 Dec 2023 13:56:54 +0100 Subject: [PATCH] Use database( ... ) as the new Database tag in apps --- .../all_system_components/appSqliteEditorComponent.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/public/visifile_drivers/all_system_components/appSqliteEditorComponent.js b/public/visifile_drivers/all_system_components/appSqliteEditorComponent.js index e5f2eec16..b56c04133 100644 --- a/public/visifile_drivers/all_system_components/appSqliteEditorComponent.js +++ b/public/visifile_drivers/all_system_components/appSqliteEditorComponent.js @@ -189,7 +189,7 @@ load_once_from_file(true) // If a database definition has been given then read it // - let llsqlText = yz.helpers.getValueOfCodeString(mm.text, "sqlite", ")//sqlite") + let llsqlText = yz.helpers.getValueOfCodeString(mm.text, "database", ")//database") if (isValidObject(llsqlText)) { mm.editor.getSession().setValue( JSON.stringify( llsqlText , null , 2 )); } else { @@ -277,8 +277,8 @@ load_once_from_file(true) return null } - this.text = yz.helpers.deleteCodeString(this.text, "sqlite", ")//sqlite") - this.text = yz.helpers.insertCodeString(this.text, "sqlite", JSON.parse(this.sqlText) ,")//sqlite") + this.text = yz.helpers.deleteCodeString(this.text, "database", ")//database") + this.text = yz.helpers.insertCodeString(this.text, "database", JSON.parse(this.sqlText) ,")//database") return this.text },