captures option values forming a GetQuery.
to merge.
when set, defines sorting of collection.
when set, defines filtering of collection.
relevant parameters for paging, filtering and sorting.
used to speed up insertion point when doing consecutive insertions into sorted ranges.
limit of getQuery captured at construction time.
reads an additional page of data into the collection.
When async processing is done, a more attribute is set on the options object in case additional data might be available which can be loaded by calling this method again. Likewise an end attribute is set if the data is fully loaded.
to load data into.
such as pageSize to retrieve.
promise of the load operation.
reads the next page of data into the collection.
such as pageSize to retrieve.
promise of the load operation.
reads the previous page of data into the collection.
such as pageSize to retrieve.
promise of the load operation.
reads a page of data into the collection.
When async processing is done, a next/prev attribute is set on the options object in case additional pages might be available which can be loaded by calling this method again.
to load data into.
incl. offset and limit of page to retrieve.
promise of the load operation.
computes the insertion point of attributes into models sorted by compareFn.
This is used to compute the at-index of backbone.js add() method options when adding models to a sorted collection.
being inserted.
sorted by compareFn.
insertion point.
performs a binary search for insertion point of attributes into models[start:end] sorted by compareFn.
being inserted.
sorted by compareFn.
inclusive index of search interval.
exclusive index of search interval.
insertion point.
receives change messages.
Change messages are communicated by the SyncStore indirectly triggering a sync:channel event. This happens regardless of whether the change originates local or remote. The context then alters the backbone data incorporating the change.
Generated using TypeDoc
receives change messages and updates collections.