Skip to content

Commit

Permalink
Update JSMF-Database-Query.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan authored Oct 6, 2017
1 parent 3ded134 commit baf9071
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion JSMF-Database-Query.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit baf9071

Please sign in to comment.