Skip to content
Discussion options

You must be logged in to vote

Use col:

from sqlmodel import col

...

.join(mum, col(Child.mother_id) == mum.id)

Replies: 1 comment 1 reply

Comment options

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

Answer selected by YuriiMotov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
2 participants