Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

query to count the number of rows in a table in sqlalchemy

UserImage.query.filter(UserImage.user_id == 1).count()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #query #count #number #rows #table #sqlalchemy
ADD COMMENT
Topic
Name
1+8 =