You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Has many associations are empty until you call HasManyAssociation.load(). This method invokes the DataSource.belongsTo(). I think we can simplify the data source by having the backend pass back an array of record IDs for the association. When the association is accessed, it instantiates records for each of the IDs.
When HasManyAssociation.load() is called, it will do a batch retrieve call for each of the association's records. Alternatively, you can also call load() on each of the records to load them individually.
Has many associations are empty until you call
HasManyAssociation.load()
. This method invokes theDataSource.belongsTo()
. I think we can simplify the data source by having the backend pass back an array of record IDs for the association. When the association is accessed, it instantiates records for each of the IDs.When
HasManyAssociation.load()
is called, it will do a batch retrieve call for each of the association's records. Alternatively, you can also callload()
on each of the records to load them individually.The text was updated successfully, but these errors were encountered: