getList
function
Get a single instance from the "data interface".
connection.getList(set)
Gets an instance from getListData and runs the resulting data through hydrateList.
Parameters
- set
{Set}:Data specifying the instance to retrieve. Normally, this looks like:
{id: 5}.
Returns
{Promise<List<Instance>>}:
An instance that represents the data that was loaded.
Use
Call .getList() with the parameters that identify the instance
you want to load. .getList() will return a promise that resolves
to your instance.
todoConnection.getList({due: 'today'}).then(function(todos){ })