async def delete(query):
assert isinstance(query, peewee.Delete),("<STR_LIT>"<EOL>"<STR_LIT>" % str(query))<EOL>cursor = await _execute_query_async(query)<EOL>rowcount = cursor.rowcount<EOL>await cursor.release()<EOL>return rowcount<EOL>
Perform DELETE query asynchronously. Returns number of rows deleted.