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

Function executeQuery

web/src/services/datasource.ts:177–204  ·  view source on GitHub ↗

* Execute a SQL query against a datasource * @param id - Datasource ID * @param query - SQL query string * @param timeout - Query timeout in seconds * @param maxRows - Maximum number of rows to return * @returns Query results

(
    id: string,
    query: string,
    timeout = 30,
    maxRows = 1000,
  )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

handleExecuteQueryFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected