belongsTo (keyName, options) (DS.Snapshot|String|null|undefined)
Defined in addon/-private/system/snapshot.js:161
Returns the current value of a belongsTo relationship. belongsTo takes an optional hash of options as a second parameter, currently supported options are:
id: set to true if you only want the ID of the related record to be returned. Example // store.push('post', { id: 1, title: 'Hello World' });
// store.createRecord('comment', { body: 'Lorem ipsum', post: post });
commentSnaps