Reputation: 93
Is there a way of checking for the presence of a specific record (using primary key) in Ember Data's model cache without invoking a server query to fetch it if it's missing? I am using the RESTAdapter.
Upvotes: 0
Views: 1057
Reputation: 605
hasRecordForId checks if a record is loaded in the store and returns a bool
Upvotes: 2