get
connection.get( params )
Get a single Instance using the connection
by calling
getData.
connection.get( { id: 5 } ).then( function( instance ) {
} );
Note that can/map adds get
to the instance
's
constructor function.
Parameters
- params
{Object}
:An object that specifies an instance to retrieve. Typically, the object contains the
id
property and theid
value of the instance that should be retrieved like{_id: "saq232la8kjsa"}
.
Gets a Instance.