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.
Currently all relations loaded via
with
are done so using a subsequentselect * from relationTable where id in (...)
. ForhasOne
andbelongsTo
relations, loading these relatoins should be possible and more performant by adding aleft 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.This was requested at http://stackoverflow.com/questions/36358836/js-data-sql-dssqladapter-create-inner-join
The text was updated successfully, but these errors were encountered: