def execute(self, query, params=None):
        with self as db:
            return db.execute(query, params)
Shortcut for directly executing a query.
dataset/ETHPy150Open edgewall/trac/trac/db/api.py/DbContextManager.execute