Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

deleting models with sqlalchemy orm

session.query(MyModel).filter(MyModel.id==1).delete()
session.commit()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #deleting #models #sqlalchemy #orm
ADD COMMENT
Topic
Name
6+7 =