find

  • function
 

Get an item from the store by ID.

store.find(settings)

Parameters

  1. settings {Object}

    An object containing an id key corresponding to the item to find.

store.find(settings) store.destroy(request, callback) simulates a request to get a single item from the server.

todosStore.find({
  url: "/todos/5"
}, function(){});