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
The primary difficulty seems to come from the nested invocation of from (or to look at it another way, informing the subquery of some parent bindings.
I would be willing to put some work towards this, but I'd need guidance as I'm not very familiar with the ecto codebase. And we'd also have to decide what the solution would be.
The text was updated successfully, but these errors were encountered:
Unfortunately I don't think there is an easy solution to this problem. Even though we have subqueries there is no way to pass bindings from the parent query to the child query and this would take a lot of effort to implement. It is something we would accept if someone puts the effort, but it is not something the Ecto team can help with, as we are time constrained.
Currently, ecto supports lateral joins for fragments, but not for subqueries.
To steal an example from the original lateral join thread:
The primary difficulty seems to come from the nested invocation of
from
(or to look at it another way, informing the subquery of some parent bindings.I would be willing to put some work towards this, but I'd need guidance as I'm not very familiar with the ecto codebase. And we'd also have to decide what the solution would be.
The text was updated successfully, but these errors were encountered: