DS.Store#findHasMany()

findHasMany (owner, link, relationship) Promiseprivate

Defined in addon/-private/system/store.js:1032

If a relationship was originally populated by the adapter as a link (as opposed to a list of IDs), this method is called when the relationship is fetched.

The link (which is usually a URL) is passed through unchanged, so the adapter can make whatever request it wants.

The usual use-case is for the server to register a URL as a link, and then use that URL in the future to make a request for the relationship.

Parameters:

owner DS.Model
link Any
relationship (Relationship)

Returns:

Promise
promise
doc_EmberJs
2016-11-30 16:50:50
Comments
Leave a Comment

Please login to continue.