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
{{ message }}
This repository has been archived by the owner on Dec 20, 2023. It is now read-only.
Is there a solution to include associations in a query on a model , like with :include within Activerecord in rails ?
Ex :
var A = patio.addModel('a');
var B = patio.addModel(''b').oneToOne(''a');
B.filter({id: [1,2,3,4,5]}).include(['a']).all(function(b){b.a)})
should produce :
select * from b where id in (1,2,3,4,5)
select * from a where b_id in (b_id1, b_id2, b_id3, ...)
eager load is close to the point but will produce many requests (5 here)
Any existing solution or help to dev it ?
thanks for your very good job
The text was updated successfully, but these errors were encountered: