getList
Gets a List of instances.
connection.getList( set )
Gets a List of instances using the connection by calling
getListData.
connection.getList( { parentId: 5 } ).then( function( list ) {
} );
Note that can/map adds getList to the instance's
constructor function.
Parameters
- query
{Query}:A set object that represents the list of data to load.
Returns
{Promise<List>}:
Returns a promise that
resolve with a List if getListData is resolved. The promise is rejected if getListData is rejected.