queryRecord (store, type, query) Promise
Called by the store in order to fetch a JSON object for the record that matches a particular query.
The queryRecord
method makes an Ajax (HTTP GET) request to a URL computed by buildURL
, and returns a promise for the resulting payload.
The query
argument is a simple JavaScript object that will be passed directly to the server as parameters.
Returns:
-
Promise
- promise
Please login to continue.