OData.OnlineStore Class
Store that used in online mode by default.
Item Index
Methods
Methods
batchUpdate
(
Promise
-
models
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.
Returns:
Promise:
A promise that fulfilled with an array of models in the new state.