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

Method execute_script

tortoise/backends/base/client.py:218–225  ·  view source on GitHub ↗

Executes a RAW SQL script with multiple statements, and returns nothing. :param query: The SQL string, which will be passed on verbatim. Semicolons is supported here.

(self, query: str)

Source from the content-addressed store, hash-verified

216 raise NotImplementedError() # pragma: nocoverage
217
218 async def execute_script(self, query: str) -> None:
219 """
220 Executes a RAW SQL script with multiple statements, and returns nothing.
221
222 :param query: The SQL string, which will be passed on verbatim.
223 Semicolons is supported here.
224 """
225 raise NotImplementedError() # pragma: nocoverage
226
227 async def execute_many(self, query: str, values: list[list]) -> None:
228 """

Callers 1

generate_from_stringMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected