Categories
How to select the last row from a filtered row?
ResSeats.query.filter_by(res_id=sessio.film_id).first()
Answer the question
In order to leave comments, you need to log in
Flip selection?.order_by(...).first()
.order_by(...).first()
ResSeats.query.filter_by(res_id=sessio.film_id).order_by(res_id.desc()).limit(1)
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question