Changes between Version 15 and Version 16 of DeveloperGuidelines/EdenMobile/Services/emDB
- Timestamp:
- 11/23/17 23:07:36 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuidelines/EdenMobile/Services/emDB
v15 v16 156 156 (written on multiple lines, this becomes very readable - almost undisturbed from the inevitable JS punctuation) 157 157 158 === Chaining SetExpressions ===158 === Chaining WHERE-Expressions === 159 159 160 160 Is is also possible to chain multiple {{{.where()}}}'s, basically producing an AND of all where() expresions in the chain. Surely, where you construct a Set in place, you wouldn't do multiple .where()'s but rather use allOf(). But if you collect filters (e.g. in a loop), you can easily extend the Set by calling .where() multiple times, i.e. instead of: