queryRecord (store, type, query) Promise
Defined in addon/adapter.js:184
The queryRecord() method is invoked when the store is asked for a single record through a query object. In response to queryRecord() being called, you should always fetch fresh data. Once found, you can asynchronously call the store's push() method to push the record into the store. Here is an example queryRecord implementation: Example app/adapters/application.js
import DS from 'ember-data';
import Ember from 'ember';