getList
Retrieve a list of instances from the connection data source.
    connection.getList(set)
  
  Retrieves list data from getListData and runs the resulting data through hydrateList, creating a typed list of typed instances from the retrieved data.
Parameters
- set {Set}:data specifying the range of instances to retrieve. This might look something like: {start: 0, end: 50, due: 'today'}
Returns
Promise resolving to the typed list returned by
hydrateList.
Usage
Call getList with the parameters that specify the set of data you want to load.  .getList() will return
a promise that resolves to a List created from that set.
todoConnection.getList({due: 'today'}).then(function(todos){
  todos[0].name; // 'Take out the garbage'
  todos[0].due > startOfDay && todos[0].due < endOfDay; // true
})
 GitHub
GitHub Twitter
Twitter