DS.Adapter#groupRecordsForFindMany()

groupRecordsForFindMany (store, snapshots) Array

Defined in addon/adapter.js:459

Organize records into groups, each of which is to be passed to separate calls to findMany.

For example, if your api has nested URLs that depend on the parent, you will want to group records by their parent.

The default implementation returns the records as a single group.

Parameters:

store DS.Store
snapshots Array

Returns:

Array
an array of arrays of records, each of which is to be loaded separately by `findMany`.
doc_EmberJs
2016-11-30 16:49:24
Comments
Leave a Comment

Please login to continue.