OData.OnlineStore Class
Store that used in online mode by default.
Item Index
Methods
Methods
batchSelect
(
Promise
-
queries
A method to get array of models.
Parameters:
-
queries
ArrayArray of Flexberry Query objects.
Returns:
Promise:
A promise that fulfilled with an array of query responses.
batchUpdate
(
Promise
-
models
-
getProjections
A method to send batch update, create or delete models in single transaction.
All models saving using this method must have identifiers.
The array which fulfilled the promise may contain the following values:
same model object
- for created, updated or unaltered records.null
- for deleted records.
Parameters:
-
models
DS.Model[] | DS.ModelIs array of models or single model for batch update.
-
getProjections
ObjectOptional projections for updated models.
Returns:
Promise:
A promise that fulfilled with an array of models in the new state.