Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

sql alchemy get last n elements

query = users.select().order_by(users.c.id.desc()).limit(N)
 
PREVIOUS NEXT
Tagged: #sql #alchemy #elements
ADD COMMENT
Topic
Name
9+8 =