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

Method execute_query

chatbi/database/database.py:508–535  ·  view source on GitHub ↗

Execute SQL query with parameters and return results as dictionaries. Args: query: SQL query string params: Query parameters as a list Returns: List of dictionaries representing the query results

(
        self, query: str, params: list[Any] | None = None
    )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

DatabaseErrorClass · 0.90
with_async_db_retryFunction · 0.85

Tested by

no test coverage detected