Documentation Home
X DevAPI User Guide
Download this Manual
PDF (US Ltr) - 1.0Mb
PDF (A4) - 1.0Mb
EPUB - 0.7Mb
HTML Download (TGZ) - 0.6Mb
HTML Download (Zip) - 0.7Mb


X DevAPI User Guide  /  ...  /  Boolean Expression Strings

Beta Draft: 2017-03-17

10.1.1 Boolean Expression Strings

Boolean expression strings can be used when filtering collections or tables using operations, such as find() and remove(). The expression is evaluated once for each document or row.

The following example of a boolean expression string uses find() to search for all documents with a red color attribute from the collection apples:

apples.find('color = "red"').execute()

Similarly, to delete all red apples:

apples.remove('color = "red"').execute()

User Comments
Sign Up Login You must be logged in to post a comment.