Skip to content

Instantly share code, notes, and snippets.

@MartinMalinda
Last active November 7, 2015 18:08
Show Gist options
  • Save MartinMalinda/20d3973147ee130d67e2 to your computer and use it in GitHub Desktop.
Save MartinMalinda/20d3973147ee130d67e2 to your computer and use it in GitHub Desktop.
Accessing the DS.Store objet with Ember Inspector
// 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