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

Method execute_many

tortoise/backends/asyncpg/client.py:187–191  ·  view source on GitHub ↗
(self, query: str, values: list)

Source from the content-addressed store, hash-verified

185
186 @translate_exceptions
187 async def execute_many(self, query: str, values: list) -> None:
188 async with self.acquire_connection() as connection:
189 self.log.debug("%s: %s", query, values)
190 # TODO: Consider using copy_records_to_table instead
191 await connection.executemany(query, values)
192
193 @translate_exceptions
194 async def begin(self) -> None:

Callers

nothing calls this directly

Calls 1

acquire_connectionMethod · 0.95

Tested by

no test coverage detected