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
Currently all relations loaded via with are done so using a subsequentselect * from relationTable where id in (...). For hasOne and belongsTo relations, loading these relatoins should be possible and more performant by adding a left join to the original query for each of these relation types and distributing the columns to the primary entity and each relation property based on the table name prefix of the column.
Activity
jhoelter commentedon Apr 3, 2016
+1 for this feature, as this is a complete killer for a production application
jmdobry commentedon Apr 3, 2016
js-data-sql
would probably just need to override some methods injs-data-adapter
to make this happen.