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
If columns A.id & B.a_id have the same name (let's say 'aId'), the resulting sql doesn't work as confuse the column from A with the one in B. This is translated to: delete from A where not exists (select id from b where aId = aId);
It doesn't matter if an alias is used for B, it's still considering the right part of the equal a column from B: delete from A where not exists (select id from b as alias where alias.aId = aId);
The text was updated successfully, but these errors were encountered:
Please, add support for alias in deleteFrom, otherwise there is no way of using it with exists condition when there are ambiguous columns.
If columns A.id & B.a_id have the same name (let's say 'aId'), the resulting sql doesn't work as confuse the column from A with the one in B. This is translated to:
delete from A where not exists (select id from b where aId = aId);
It doesn't matter if an alias is used for B, it's still considering the right part of the equal a column from B:
delete from A where not exists (select id from b as alias where alias.aId = aId);
The text was updated successfully, but these errors were encountered: