MCPcopy Index your code
hub / github.com/bytebase/dbhub / executeSQL

Method executeSQL

src/connectors/interface.ts:253–253  ·  view source on GitHub ↗

Execute a SQL query with execution options and optional parameters

(sql: string, options: ExecuteOptions, parameters?: any[])

Source from the content-addressed store, hash-verified

251
252 /** Execute a SQL query with execution options and optional parameters */
253 executeSQL(sql: string, options: ExecuteOptions, parameters?: any[]): Promise<SQLResult>;
254}
255
256/**

Callers 15

createCustomToolHandlerFunction · 0.65
getTableRowCountFunction · 0.65
setupTestDataMethod · 0.65
setupTestDataMethod · 0.65
setupTestDataMethod · 0.65
setupTestDataMethod · 0.65
setupTestDataMethod · 0.65

Implementers 5

SQLServerConnectorsrc/connectors/sqlserver/index.ts
PostgresConnectorsrc/connectors/postgres/index.ts
MariaDBConnectorsrc/connectors/mariadb/index.ts
MySQLConnectorsrc/connectors/mysql/index.ts
SQLiteConnectorsrc/connectors/sqlite/index.ts

Calls

no outgoing calls

Tested by 7

setupTestDataMethod · 0.52
setupTestDataMethod · 0.52
setupTestDataMethod · 0.52
setupTestDataMethod · 0.52
setupTestDataMethod · 0.52
createSQLExecutionTestsFunction · 0.52
createErrorHandlingTestsFunction · 0.52