MCPcopy Create free account
hub / github.com/chatbi/chatbi / execute_batch

Method execute_batch

chatbi/database/database.py:320–345  ·  view source on GitHub ↗

Execute the same SQL query with different parameters in a batch. Args: sql: SQL query string params_list: List of parameter lists Returns: Number of rows affected Example: ```python params_list = [

(self, sql: str, params_list: list[list[Any]])

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

connectionMethod · 0.95

Tested by

no test coverage detected