Changes between Version 1 and Version 2 of DeveloperGuidelines/EdenMobile/Services/emDB


Ignore:
Timestamp:
11/23/17 22:38:02 (7 years ago)
Author:
Dominic König
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelines/EdenMobile/Services/emDB

    v1 v2  
    6161Both {{{anyOf}}} and {{{allOf}}} can of course be nested indefinitely.
    6262
     63Negation has two alternatives as well:
     64{{{
     65// Global not() function
     66var query = not(field.in([5, 6, 7]));
     67
     68// Expression method
     69var query = field.in([5, 6, 7]).not();
     70}}}
     71
     72Obviously, the former provides for better readability - whilst the latter can be used if the local context overrides the global {{{not}}} for some reason.
    6373=== Sets ===
    6474