Python Sqlalchemy Zdobądź identyfikator ostatniego wiersza
obj = session.query(ObjectRes).order_by(ObjectRes.id.desc()).first()
paul john
obj = session.query(ObjectRes).order_by(ObjectRes.id.desc()).first()
session.query(ObjectRes).filter(ObjectRes.id == session.query(func.max(ObjectRes.id)))