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
I don't know if it's relted, but I get an issue because of a table joined twice.
Basically, I have this structure (pseudo language, simplified for the example):
Hi! thanks a bunch for this awesome ORM!
Describe the bug
I'm trying to join the same table twice (this is a simplified example)
and getting an error
invalid reference to FROM-clause entry for table "user"
this is the resulted sql query, seems like one left join is missing
select "patterns"."id", "user"."id", "user2"."id" from "pattern" as "patterns" left join "user" as "user2" on "patterns"."userId" = "user2"."id"
Expected behavior
No error
Versions
The text was updated successfully, but these errors were encountered: