Home

Awesome

ember-store-helpers

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

Compatibility

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.