MCPcopy Create free account

hub / github.com/bytebase/dbhub / functions

Functions717 in github.com/bytebase/dbhub

MethodcreateContainer
()
src/connectors/__tests__/postgres.integration.test.ts:33
MethodcreateContainer
()
src/connectors/__tests__/sqlserver.integration.test.ts:45
MethodcreateContainer
()
src/connectors/__tests__/mariadb.integration.test.ts:30
MethodcreateContainer
()
src/connectors/__tests__/sqlite.integration.test.ts:41
FunctioncreateErrorHandlingTests
()
src/connectors/__tests__/shared/integration-test-base.ts:304
FunctioncreateResourceErrorResponse
( uri: string, error: string, code: string = "ERROR", details?: any )
src/utils/response-formatter.ts:97
FunctioncreateResourceSuccessResponse
( uri: string, data: T, meta: Record<string, any> = {} )
src/utils/response-formatter.ts:117
FunctioncreateSQLExecutionTests
()
src/connectors/__tests__/shared/integration-test-base.ts:197
FunctioncreateSchemaTests
()
src/connectors/__tests__/shared/integration-test-base.ts:119
FunctioncreateStoredProcedureTests
()
src/connectors/__tests__/shared/integration-test-base.ts:236
FunctioncreateTableTests
()
src/connectors/__tests__/shared/integration-test-base.ts:168
FunctioncreateTestSuite
* Common test suite that can be reused across different database types
src/connectors/__tests__/shared/integration-test-base.ts:74
Methoddisconnect
* Close all database connections
src/connectors/manager.ts:298
Methoddisconnect
()
src/connectors/sqlserver/index.ts:206
Methoddisconnect
()
src/connectors/sqlite/index.ts:208
MethodexecuteSQL
(sqlQuery: string, options: ExecuteOptions, parameters?: any[])
src/connectors/sqlserver/index.ts:609
MethodexecuteSQL
(sql: string, options: ExecuteOptions, parameters?: any[])
src/connectors/sqlite/index.ts:451
FunctionformatPromptErrorResponse
( error: string, code: string = "ERROR" )
src/utils/response-formatter.ts:168
FunctionformatPromptSuccessResponse
( text: string, references: string[] = [] )
src/utils/response-formatter.ts:136
MethodgetAllSampleDSNs
* Get all available sample DSNs
src/connectors/interface.ts:308
MethodgetAvailableConnectors
* Get all available connector types
src/connectors/manager.ts:361
MethodgetAvailableConnectors
* Get all available connector IDs
src/connectors/interface.ts:292
MethodgetConnectionUri
()
src/connectors/__tests__/postgres.integration.test.ts:10
MethodgetConnectionUri
()
src/connectors/__tests__/sqlserver.integration.test.ts:10
MethodgetConnectionUri
()
src/connectors/__tests__/mariadb.integration.test.ts:10
MethodgetConnectionUri
()
src/connectors/__tests__/mysql.integration.test.ts:10
MethodgetConnectionUri
()
src/connectors/__tests__/sqlite.integration.test.ts:12
MethodgetCustomTools
* Get all custom tools (non-builtin) across all sources
src/tools/registry.ts:246
MethodgetDefaultSchema
* Default search scope = the database named in the DSN. DATABASE() returns * null when the connection was opened without a database, in which case
src/connectors/mariadb/index.ts:585
MethodgetDefaultSchema
* Default search scope = the database named in the DSN. DATABASE() returns * null when the connection was opened without a database, in which case
src/connectors/mysql/index.ts:598
MethodgetDerivedStateFromError
(error: Error)
frontend/src/components/ErrorBoundary.tsx:21
MethodgetEnabledBuiltinToolNames
* Get all built-in tool names that are enabled across any source
src/tools/registry.ts:253
MethodgetId
()
src/connectors/sqlserver/index.ts:184
MethodgetId
()
src/connectors/postgres/index.ts:160
MethodgetId
()
src/connectors/mariadb/index.ts:124
MethodgetId
()
src/connectors/mysql/index.ts:133
MethodgetId
()
src/connectors/sqlite/index.ts:120
FunctiongetInMemorySqliteDSN
()
src/config/demo-loader.ts:52
MethodgetSampleDSN
* Get sample DSN for a specific connector
src/connectors/interface.ts:299
MethodgetSchemas
()
src/connectors/sqlserver/index.ts:213
MethodgetSchemas
()
src/connectors/postgres/index.ts:210
MethodgetSchemas
()
src/connectors/mariadb/index.ts:153
MethodgetSchemas
()
src/connectors/mysql/index.ts:166
MethodgetSchemas
()
src/connectors/sqlite/index.ts:237
FunctiongetSource
(req: Request, res: Response)
src/api/sources.ts:103
MethodgetStoredProcedureDetail
(procedureName: string, schema?: string)
src/connectors/sqlserver/index.ts:513
MethodgetStoredProcedureDetail
(procedureName: string, schema?: string)
src/connectors/postgres/index.ts:505
MethodgetStoredProcedureDetail
(procedureName: string, schema?: string)
src/connectors/mariadb/index.ts:449
MethodgetStoredProcedureDetail
(procedureName: string, schema?: string)
src/connectors/mysql/index.ts:462
MethodgetStoredProcedureDetail
(procedureName: string, schema?: string)
src/connectors/sqlite/index.ts:434
MethodgetStoredProcedures
(schema?: string, routineType?: "procedure" | "function")
src/connectors/sqlserver/index.ts:477
MethodgetStoredProcedures
(schema?: string, routineType?: "procedure" | "function")
src/connectors/postgres/index.ts:468
MethodgetStoredProcedures
(schema?: string, routineType?: "procedure" | "function")
src/connectors/mariadb/index.ts:410
MethodgetStoredProcedures
(schema?: string, routineType?: "procedure" | "function")
src/connectors/mysql/index.ts:423
MethodgetStoredProcedures
(schema?: string, routineType?: "procedure" | "function")
src/connectors/sqlite/index.ts:416
MethodgetTableComment
(tableName: string, schema?: string)
src/connectors/sqlserver/index.ts:442
MethodgetTableComment
(tableName: string, schema?: string)
src/connectors/postgres/index.ts:438
MethodgetTableComment
(tableName: string, schema?: string)
src/connectors/mariadb/index.ts:382
MethodgetTableComment
(tableName: string, schema?: string)
src/connectors/mysql/index.ts:395
MethodgetTableIndexes
(tableName: string, schema?: string)
src/connectors/sqlserver/index.ts:314
MethodgetTableIndexes
(tableName: string, schema?: string)
src/connectors/postgres/index.ts:310
MethodgetTableIndexes
(tableName: string, schema?: string)
src/connectors/mariadb/index.ts:264
MethodgetTableIndexes
(tableName: string, schema?: string)
src/connectors/mysql/index.ts:277
MethodgetTableIndexes
(tableName: string, schema?: string)
src/connectors/sqlite/index.ts:312
MethodgetTableRowCount
(tableName: string, schema?: string)
src/connectors/postgres/index.ts:406
MethodgetTableSchema
(tableName: string, schema?: string)
src/connectors/sqlserver/index.ts:397
MethodgetTableSchema
(tableName: string, schema?: string)
src/connectors/postgres/index.ts:364
MethodgetTableSchema
(tableName: string, schema?: string)
src/connectors/mariadb/index.ts:341
MethodgetTableSchema
(tableName: string, schema?: string)
src/connectors/mysql/index.ts:354
MethodgetTableSchema
(tableName: string, schema?: string)
src/connectors/sqlite/index.ts:386
MethodgetTables
(schema?: string)
src/connectors/sqlserver/index.ts:231
MethodgetTables
(schema?: string)
src/connectors/postgres/index.ts:230
MethodgetTables
(schema?: string)
src/connectors/mariadb/index.ts:176
MethodgetTables
(schema?: string)
src/connectors/mysql/index.ts:189
MethodgetTables
(schema?: string)
src/connectors/sqlite/index.ts:249
MethodgetViews
(schema?: string)
src/connectors/sqlserver/index.ts:259
MethodgetViews
(schema?: string)
src/connectors/postgres/index.ts:257
MethodgetViews
(schema?: string)
src/connectors/mariadb/index.ts:208
MethodgetViews
(schema?: string)
src/connectors/mysql/index.ts:221
MethodgetViews
(schema?: string)
src/connectors/sqlite/index.ts:271
FunctionhandleKeyDown
(event: KeyboardEvent)
frontend/src/components/ui/sidebar.tsx:105
FunctionhandleKeyDown
(event: KeyboardEvent)
frontend/src/components/tool/RunButton.tsx:25
MethodhasTopClause
* Check if a SQL statement already has a TOP clause (SQL Server). * Strips comments and string literals first to avoid false positives.
src/utils/sql-row-limiter.ts:32
FunctionlistRequests
(req: ExpressRequest, res: Response)
src/api/requests.ts:9
FunctionlistSources
(req: Request, res: Response)
src/api/sources.ts:80
MethodonError
(err: Error)
src/utils/ssh-tunnel.ts:215
MethodonReady
()
src/utils/ssh-tunnel.ts:221
FunctiononSuccess
()
tsup.config.ts:24
Methodparse
(dsn: string, config?: ConnectorConfig)
src/connectors/sqlserver/index.ts:26
Methodparse
(dsn: string, config?: ConnectorConfig)
src/connectors/postgres/index.ts:39
Methodparse
(dsn: string, config?: ConnectorConfig)
src/connectors/mariadb/index.ts:30
Methodparse
(dsn: string, config?: ConnectorConfig)
src/connectors/mysql/index.ts:30
Methodparse
(dsn: string, config?: ConnectorConfig)
src/connectors/sqlite/index.ts:41
FunctionparseJsonResponse
(response: Response)
frontend/src/api/sources.ts:6
Functionreload
()
src/utils/config-watcher.ts:45
FunctionscanTokenAnsi
(sql: string, i: number)
src/utils/sql-parser.ts:141
FunctionscanTokenMySQL
(sql: string, i: number)
src/utils/sql-parser.ts:158
FunctionscanTokenPostgres
(sql: string, i: number)
src/utils/sql-parser.ts:149
FunctionscanTokenSQLServer
(sql: string, i: number)
src/utils/sql-parser.ts:177
FunctionscanTokenSQLite
(sql: string, i: number)
src/utils/sql-parser.ts:167
← previousnext →601–700 of 717, ranked by callers