Answer the question
In order to leave comments, you need to log in
How to get the last row in a column using sqlalchemy?
Good afternoon, I am learning to work with the postgresql database and using sqlalchemy, I have a table in it with 1 column, I display all the value from it in such a cycle -
for instance in db_session.query(Courses).order_by(Courses.courses_now):
print(instance.courses_now)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question