Skip to content

feature: error on invalid join order #2372

@croconut

Description

@croconut

this is invalid sql

select * from u left join e on u1.id = e.origin_id left join u1 on u.parent_id = u1.id

since you cant open table u1 in an on clause before it's joined. I would expect it to throw an error but this does parse and the generated sqlify is also invalid.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions