Skip to content

how to get the condition in join query #611

Closed Answered by georgesittas
Opperessor asked this question in Q&A
Discussion options

You must be logged in to vote

How about the following?

>>> for eq in parse_one(<your sql>).find_all(exp.EQ):
...    print(eq)
...
b.tab1 = e.tab1

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Opperessor
Comment options

Answer selected by georgesittas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants