Changes between Version 18 and Version 19 of DeveloperGuidelines/EdenMobile/Services/emDB
- Timestamp:
- 06/12/18 08:29:41 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuidelines/EdenMobile/Services/emDB
v18 v19 200 200 201 201 NB {{{limitby: [0,1]}}} can also be written as simply {{{limitby: 1}}} 202 203 === Aggregation and Groupby === 204 205 Aggregates can be constructed from 206 207 The {{{select()}}} method accepts an object with arguments as (optional) second parameter, e.g. {{{limitby}}} and {{{orderby}}}: 208 209 {{{#!js 210 set.select( 211 [array of fields], 212 { 213 limitby: [0,1], 214 orderby: field 215 }, 216 function(rows) {...} 217 ); 218 }}}