SyntaxFix
Write A Post
Hire A Developer
Questions
Try delete:
delete
models.User.query.delete()
From the docs: Returns the number of rows deleted, excluding any cascades.
Returns the number of rows deleted, excluding any cascades.