Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

python sqlalchemy get the last row id

obj = session.query(ObjectRes).order_by(ObjectRes.id.desc()).first()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #sqlalchemy #row #id
ADD COMMENT
Topic
Name
6+7 =