DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
6+7 =
Submit