From baf907148f0159bbc894c7294f304631f1f6689c Mon Sep 17 00:00:00 2001 From: Jan Date: Fri, 6 Oct 2017 13:19:45 +0200 Subject: [PATCH] Update JSMF-Database-Query.md --- JSMF-Database-Query.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/JSMF-Database-Query.md b/JSMF-Database-Query.md index dafb407..da85f3f 100644 --- a/JSMF-Database-Query.md +++ b/JSMF-Database-Query.md @@ -95,7 +95,8 @@ add WHERE clause to select, update, delete commands ] This will result in a WHERE clause like: -WHERE (alias.fieldname=?) AND (alias.fieldname2 IS NOT NULL OR (alias.fieldname3 IS NULL AND alias.fieldname4 LIKE "%foo")) + + WHERE (alias.fieldname=?) AND (alias.fieldname2 IS NOT NULL OR (alias.fieldname3 IS NULL AND alias.fieldname4 LIKE "%foo")) Queries can be nested as deep as needed by nesting the array too (example with fieldname3 and fieldname4) Each part of the query that is an own array will be surrounded by brackets