Skip to content
Advertisement

Tag: flask-sqlalchemy

Flask SQLAlchemy query join

I have 2 table like this: Then I try to making 2 kinds of query to get data for the relationship models. first, I make it like this: and the second one I use join statement on that: My questions are, what’s the difference in that query while in the second one I use the join statement but the result

Advertisement