Show:

Store that used in online mode by default.

Item Index

Methods

batchUpdate

(
  • models
)
Promise

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:

Returns:

Promise:

A promise that fulfilled with an array of models in the new state.

deleteRecord

(
  • modelName
  • filter
)

Delete all record from the current store.

Parameters: