Changes between Version 7 and Version 8 of DeveloperGuidelines/EdenMobile/Services/emDB
- Timestamp:
- 11/23/17 22:48:15 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuidelines/EdenMobile/Services/emDB
v7 v8 151 151 (written on multiple lines, this becomes very readable - almost undisturbed from the inevitable JS punctuation) 152 152 153 === Chaining Set Expressions === 154 153 155 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: 154 156