MCPcopy Create free account
hub / github.com/tortoise/tortoise-orm / execute_script

Method execute_script

tortoise/backends/sqlite/client.py:167–170  ·  view source on GitHub ↗
(self, query: str)

Source from the content-addressed store, hash-verified

165
166 @translate_exceptions
167 async def execute_script(self, query: str) -> None:
168 async with self.acquire_connection() as connection:
169 self.log.debug(query)
170 await connection.executescript(query)
171
172
173class SqliteTransactionContext(TransactionContext):

Callers

nothing calls this directly

Calls 1

acquire_connectionMethod · 0.95

Tested by

no test coverage detected