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
/** * All I need is get all A related to array of B ids */varids=['id1','id2'];A.all({id: {'in': ids}},function(err,data){console.log(err,data);// null, []});varusernames=['a','b'];A.all({username: {'in': usernames}},function(err,data){/** * It works! */});
The text was updated successfully, but these errors were encountered:
With latest versiion 13.0.7,
A has many B,
B belongs to A.
The text was updated successfully, but these errors were encountered: