Skip to content

Latest commit

 

History

History

data

EmberData

Usage

attr⇥

attr('${1:string}'),

bT⇥

belongsTo('${1:string}'),

fAll⇥

this.store.findAll('${1:model}');

fRecord⇥

this.store.findRecord('${1:model}', params.${1:model}_id);

hM⇥

hasMany('${1:string}'),

pAll⇥

this.store.peekAll('${1:model}');

pRecord⇥

this.store.peekRecord('${1:model}', params.${1:model}_id);

qAll⇥

this.store.query('${1:model}', { ${2:queryKey}: ${3:queryValue}});

qRecord⇥

this.store.queryRecord('${1:model}', { ${2:queryKey}: ${3:queryValue}});