Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
app
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

ember-store-helpers

This add-on provides helpers related to ember-data.

Compatibility

  • Ember.js v3.4 or above
  • Ember CLI v2.13 or above
  • Node.js v8 or above

Installation

ember install ember-store-helpers

Usage

{{get (store/find-record 'user' 42) 'name'}}

{{#each (store/find-all 'user') as |user|}}
  {{user.name}}
{{/each}}

{{#each (store/query-all 'user' (hash name='John')) as |john|}}
  John at age {{user.age}}
{{/each}}

{{#let (store/query-record 'setting' (hash key='uniqueKey')) as |setting|}}
  {{setting.name}}: {{setting.value}}
{{/let}}

Contributing

See the Contributing guide for details.

License

This project is licensed under the MIT License.

About

This add-on provides helpers related to ember-data.

Topics

Resources

License

Packages

No packages published
You can’t perform that action at this time.