Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytebase/dbhub
/ functions
Functions
717 in github.com/bytebase/dbhub
⨍
Functions
717
◇
Types & classes
137
Method
createContainer
()
src/connectors/__tests__/postgres.integration.test.ts:33
Method
createContainer
()
src/connectors/__tests__/sqlserver.integration.test.ts:45
Method
createContainer
()
src/connectors/__tests__/mariadb.integration.test.ts:30
Method
createContainer
()
src/connectors/__tests__/sqlite.integration.test.ts:41
Function
createErrorHandlingTests
()
src/connectors/__tests__/shared/integration-test-base.ts:304
Function
createResourceErrorResponse
( uri: string, error: string, code: string = "ERROR", details?: any )
src/utils/response-formatter.ts:97
Function
createResourceSuccessResponse
( uri: string, data: T, meta: Record<string, any> = {} )
src/utils/response-formatter.ts:117
Function
createSQLExecutionTests
()
src/connectors/__tests__/shared/integration-test-base.ts:197
Function
createSchemaTests
()
src/connectors/__tests__/shared/integration-test-base.ts:119
Function
createStoredProcedureTests
()
src/connectors/__tests__/shared/integration-test-base.ts:236
Function
createTableTests
()
src/connectors/__tests__/shared/integration-test-base.ts:168
Function
createTestSuite
* Common test suite that can be reused across different database types
src/connectors/__tests__/shared/integration-test-base.ts:74
Method
disconnect
* Close all database connections
src/connectors/manager.ts:298
Method
disconnect
()
src/connectors/sqlserver/index.ts:206
Method
disconnect
()
src/connectors/sqlite/index.ts:208
Method
executeSQL
(sqlQuery: string, options: ExecuteOptions, parameters?: any[])
src/connectors/sqlserver/index.ts:609
Method
executeSQL
(sql: string, options: ExecuteOptions, parameters?: any[])
src/connectors/sqlite/index.ts:451
Function
formatPromptErrorResponse
( error: string, code: string = "ERROR" )
src/utils/response-formatter.ts:168
Function
formatPromptSuccessResponse
( text: string, references: string[] = [] )
src/utils/response-formatter.ts:136
Method
getAllSampleDSNs
* Get all available sample DSNs
src/connectors/interface.ts:308
Method
getAvailableConnectors
* Get all available connector types
src/connectors/manager.ts:361
Method
getAvailableConnectors
* Get all available connector IDs
src/connectors/interface.ts:292
Method
getConnectionUri
()
src/connectors/__tests__/postgres.integration.test.ts:10
Method
getConnectionUri
()
src/connectors/__tests__/sqlserver.integration.test.ts:10
Method
getConnectionUri
()
src/connectors/__tests__/mariadb.integration.test.ts:10
Method
getConnectionUri
()
src/connectors/__tests__/mysql.integration.test.ts:10
Method
getConnectionUri
()
src/connectors/__tests__/sqlite.integration.test.ts:12
Method
getCustomTools
* Get all custom tools (non-builtin) across all sources
src/tools/registry.ts:246
Method
getDefaultSchema
* 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
Method
getDefaultSchema
* 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
Method
getDerivedStateFromError
(error: Error)
frontend/src/components/ErrorBoundary.tsx:21
Method
getEnabledBuiltinToolNames
* Get all built-in tool names that are enabled across any source
src/tools/registry.ts:253
Method
getId
()
src/connectors/sqlserver/index.ts:184
Method
getId
()
src/connectors/postgres/index.ts:160
Method
getId
()
src/connectors/mariadb/index.ts:124
Method
getId
()
src/connectors/mysql/index.ts:133
Method
getId
()
src/connectors/sqlite/index.ts:120
Function
getInMemorySqliteDSN
()
src/config/demo-loader.ts:52
Method
getSampleDSN
* Get sample DSN for a specific connector
src/connectors/interface.ts:299
Method
getSchemas
()
src/connectors/sqlserver/index.ts:213
Method
getSchemas
()
src/connectors/postgres/index.ts:210
Method
getSchemas
()
src/connectors/mariadb/index.ts:153
Method
getSchemas
()
src/connectors/mysql/index.ts:166
Method
getSchemas
()
src/connectors/sqlite/index.ts:237
Function
getSource
(req: Request, res: Response)
src/api/sources.ts:103
Method
getStoredProcedureDetail
(procedureName: string, schema?: string)
src/connectors/sqlserver/index.ts:513
Method
getStoredProcedureDetail
(procedureName: string, schema?: string)
src/connectors/postgres/index.ts:505
Method
getStoredProcedureDetail
(procedureName: string, schema?: string)
src/connectors/mariadb/index.ts:449
Method
getStoredProcedureDetail
(procedureName: string, schema?: string)
src/connectors/mysql/index.ts:462
Method
getStoredProcedureDetail
(procedureName: string, schema?: string)
src/connectors/sqlite/index.ts:434
Method
getStoredProcedures
(schema?: string, routineType?: "procedure" | "function")
src/connectors/sqlserver/index.ts:477
Method
getStoredProcedures
(schema?: string, routineType?: "procedure" | "function")
src/connectors/postgres/index.ts:468
Method
getStoredProcedures
(schema?: string, routineType?: "procedure" | "function")
src/connectors/mariadb/index.ts:410
Method
getStoredProcedures
(schema?: string, routineType?: "procedure" | "function")
src/connectors/mysql/index.ts:423
Method
getStoredProcedures
(schema?: string, routineType?: "procedure" | "function")
src/connectors/sqlite/index.ts:416
Method
getTableComment
(tableName: string, schema?: string)
src/connectors/sqlserver/index.ts:442
Method
getTableComment
(tableName: string, schema?: string)
src/connectors/postgres/index.ts:438
Method
getTableComment
(tableName: string, schema?: string)
src/connectors/mariadb/index.ts:382
Method
getTableComment
(tableName: string, schema?: string)
src/connectors/mysql/index.ts:395
Method
getTableIndexes
(tableName: string, schema?: string)
src/connectors/sqlserver/index.ts:314
Method
getTableIndexes
(tableName: string, schema?: string)
src/connectors/postgres/index.ts:310
Method
getTableIndexes
(tableName: string, schema?: string)
src/connectors/mariadb/index.ts:264
Method
getTableIndexes
(tableName: string, schema?: string)
src/connectors/mysql/index.ts:277
Method
getTableIndexes
(tableName: string, schema?: string)
src/connectors/sqlite/index.ts:312
Method
getTableRowCount
(tableName: string, schema?: string)
src/connectors/postgres/index.ts:406
Method
getTableSchema
(tableName: string, schema?: string)
src/connectors/sqlserver/index.ts:397
Method
getTableSchema
(tableName: string, schema?: string)
src/connectors/postgres/index.ts:364
Method
getTableSchema
(tableName: string, schema?: string)
src/connectors/mariadb/index.ts:341
Method
getTableSchema
(tableName: string, schema?: string)
src/connectors/mysql/index.ts:354
Method
getTableSchema
(tableName: string, schema?: string)
src/connectors/sqlite/index.ts:386
Method
getTables
(schema?: string)
src/connectors/sqlserver/index.ts:231
Method
getTables
(schema?: string)
src/connectors/postgres/index.ts:230
Method
getTables
(schema?: string)
src/connectors/mariadb/index.ts:176
Method
getTables
(schema?: string)
src/connectors/mysql/index.ts:189
Method
getTables
(schema?: string)
src/connectors/sqlite/index.ts:249
Method
getViews
(schema?: string)
src/connectors/sqlserver/index.ts:259
Method
getViews
(schema?: string)
src/connectors/postgres/index.ts:257
Method
getViews
(schema?: string)
src/connectors/mariadb/index.ts:208
Method
getViews
(schema?: string)
src/connectors/mysql/index.ts:221
Method
getViews
(schema?: string)
src/connectors/sqlite/index.ts:271
Function
handleKeyDown
(event: KeyboardEvent)
frontend/src/components/ui/sidebar.tsx:105
Function
handleKeyDown
(event: KeyboardEvent)
frontend/src/components/tool/RunButton.tsx:25
Method
hasTopClause
* 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
Function
listRequests
(req: ExpressRequest, res: Response)
src/api/requests.ts:9
Function
listSources
(req: Request, res: Response)
src/api/sources.ts:80
Method
onError
(err: Error)
src/utils/ssh-tunnel.ts:215
Method
onReady
()
src/utils/ssh-tunnel.ts:221
Function
onSuccess
()
tsup.config.ts:24
Method
parse
(dsn: string, config?: ConnectorConfig)
src/connectors/sqlserver/index.ts:26
Method
parse
(dsn: string, config?: ConnectorConfig)
src/connectors/postgres/index.ts:39
Method
parse
(dsn: string, config?: ConnectorConfig)
src/connectors/mariadb/index.ts:30
Method
parse
(dsn: string, config?: ConnectorConfig)
src/connectors/mysql/index.ts:30
Method
parse
(dsn: string, config?: ConnectorConfig)
src/connectors/sqlite/index.ts:41
Function
parseJsonResponse
(response: Response)
frontend/src/api/sources.ts:6
Function
reload
()
src/utils/config-watcher.ts:45
Function
scanTokenAnsi
(sql: string, i: number)
src/utils/sql-parser.ts:141
Function
scanTokenMySQL
(sql: string, i: number)
src/utils/sql-parser.ts:158
Function
scanTokenPostgres
(sql: string, i: number)
src/utils/sql-parser.ts:149
Function
scanTokenSQLServer
(sql: string, i: number)
src/utils/sql-parser.ts:177
Function
scanTokenSQLite
(sql: string, i: number)
src/utils/sql-parser.ts:167
← previous
next →
601–700 of 717, ranked by callers