hasMany (keyName, options) (Array|undefined)
Defined in addon/-private/system/snapshot.js:238
Returns the current value of a hasMany relationship. hasMany takes an optional hash of options as a second parameter, currently supported options are:
ids: set to true if you only want the IDs of the related records to be returned. Example // store.push('post', { id: 1, title: 'Hello World', comments: [2, 3] });
postSnapshot.hasMany('comments'); // => [DS.Snapshot, DS.Snapshot]
postSnapshot.has