async def _run_sql(database, operation, *args, **kwargs):
__log__.debug((operation, args, kwargs))<EOL>with peewee.__exception_wrapper__:<EOL><INDENT>cursor = await database.cursor_async()<EOL>try:<EOL><INDENT>await cursor.execute(operation, *args, **kwargs)<EOL><DEDENT>except:<EOL><INDENT>await cursor.release()<EOL>raise<EOL><DEDENT>return cursor<EOL><DEDENT>
Run SQL operation (query or command) against database.