Last active
November 7, 2015 18:08
-
-
Save MartinMalinda/20d3973147ee130d67e2 to your computer and use it in GitHub Desktop.
Accessing the DS.Store objet with Ember Inspector
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Creating a new object and saving it | |
temp1.store.createRecord('someModel', {attribute1: 'data', attribute2: 'data'}).save() | |
// Loading data from the server | |
temp1.store.query('someModel', {someParameter: true}) | |
temp1.store.findAll('someModel') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment