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
My question is - does this affect the $owner role? For example, right now I have multiple 'belongsTo' relations on a single model, even though a few should probably be better categorized as a 'hasOne' relation. In this case, how is the $owner role determined?
Activity
crandmck commentedon Nov 13, 2014
See http://docs.strongloop.com/display/LB/HasOne+relations. Needs more work.
jbrw1984 commentedon Feb 12, 2015
Any movement on this? Or should we just use the 'belongsTo' relationship?
crandmck commentedon Feb 12, 2015
Sorry I haven't gotten to this. Will try to carve out some time to improve it.
I nneed to talk with Raymond... Here is something from him from chat re diff. btw 'hasOne
andbelongsTo` (for my notes):jbrw1984 commentedon Feb 13, 2015
My question is - does this affect the $owner role? For example, right now I have multiple 'belongsTo' relations on a single model, even though a few should probably be better categorized as a 'hasOne' relation. In this case, how is the $owner role determined?
crandmck commentedon Feb 19, 2015
@raymondfeng Can you answer the above?
crandmck commentedon Feb 27, 2015
Updated http://docs.strongloop.com/display/LB/HasOne+relations as best as I could. I have a number of questions inline in the article. PTAL when you have a moment.
raymondfeng commentedon Feb 28, 2015
HasOne relation doesn't play a role in deciding
$ownerrole.raymondfeng commentedon Feb 28, 2015
Doc reviewed and updated.