MCPcopy Create free account

hub / github.com/sqlchat/sqlchat / functions

Functions186 in github.com/sqlchat/sqlchat

↓ 13 callersFunctionhasFeature
(feature: FeatureType)
src/utils/feature.ts:24
↓ 10 callersFunctionsetPartialConnection
(state: Partial<Connection>)
src/components/CreateConnectionModal.tsx:134
↓ 9 callersFunctionhasDatabase
()
src/utils/feature.ts:3
↓ 8 callersFunctioncountTextTokens
(text: string)
src/utils/openai.ts:13
↓ 6 callersFunctionclose
()
src/components/QueryDrawer.tsx:98
↓ 6 callersFunctiongenerateUUID
()
src/utils/id.ts:3
↓ 6 callersFunctiongetModel
(name: string)
src/utils/model.ts:48
↓ 4 callersFunctionallowSelfOpenAIKey
()
src/utils/openai.ts:57
↓ 4 callersFunctionchangeTiDBConnectionToMySQL
(connection: Connection)
src/utils/tidb.ts:4
↓ 4 callersFunctionclassNames
(...classes: string[])
src/pages/setting/index.tsx:12
↓ 4 callersFunctiongetMSSQLConnection
(connection: Connection)
src/lib/connectors/mssql/index.ts:7
↓ 4 callersFunctiongetMySQLConnection
(connection: Connection)
src/lib/connectors/mysql/index.ts:8
↓ 4 callersFunctionnewConnector
(connection: Connection)
src/lib/connectors/index.ts:13
↓ 4 callersFunctionnewPostgresClient
(connection: Connection)
src/lib/connectors/postgres/index.ts:10
↓ 3 callersFunctiongetDateString
(timeStamp = Date.now())
src/utils/misc.ts:15
↓ 3 callersFunctiongetEndUser
(req: NextApiRequest, res: NextApiResponse)
src/pages/api/auth/end-user.ts:10
↓ 3 callersFunctiongetSubscriptionByEmail
(email: string)
src/pages/api/utils/subscription.ts:6
↓ 3 callersFunctionhandleSetOpenAIApiConfig
(config: Partial<OpenAIApiConfig>)
src/components/OpenAIApiConfigView.tsx:73
↓ 3 callersFunctionuseDarkMode
()
src/hooks/useDarkmode.ts:4
↓ 2 callersFunctioncheckStatementIsSelect
(statement: string)
src/utils/sql.ts:1
↓ 2 callersFunctiondeleteMessage
(message: Message)
src/components/ConversationView/MessageView.tsx:37
↓ 2 callersFunctionexecuteStatement
(statement: string)
src/components/QueryDrawer.tsx:53
↓ 2 callersFunctiongenerateDbPromptFromContext
( promptGenerator: (engine: Engine | undefined, schema: string | undefined) => string, engine: Engine, s
src/utils/openai.ts:17
↓ 2 callersFunctiongetAssistantById
(id: Id)
src/store/assistant.ts:13
↓ 2 callersFunctiongetEventEmitter
()
src/utils/event-emitter.ts:33
↓ 2 callersFunctiongetPromptGeneratorOfAssistant
(assistant: Assistant)
src/store/assistant.ts:18
↓ 2 callersFunctionmodelRadio
(model: any)
src/components/OpenAIApiConfigView.tsx:81
↓ 2 callersFunctionrefreshQuota
(userId: string)
src/components/QuotaView.tsx:23
↓ 2 callersFunctiontoggleCreateConnectionModal
(show = true)
src/components/Sidebar/ConnectionList.tsx:27
↓ 1 callersFunctionaddUsage
(endUser: string, addition: number)
src/pages/api/utils/usage.ts:26
↓ 1 callersFunctioncheckout
(priceId: string)
src/components/PricingView.tsx:7
↓ 1 callersFunctioncreateConversation
()
src/components/ConnectionSidebar.tsx:171
↓ 1 callersMethodemit
(eventName: EventType)
src/utils/event-emitter.ts:25
↓ 1 callersFunctionexecute
(connection: Connection, databaseName: string, statement: string)
src/lib/connectors/postgres/index.ts:59
↓ 1 callersFunctionexecute
(connection: Connection, databaseName: string, statement: string)
src/lib/connectors/mssql/index.ts:35
↓ 1 callersFunctionexecute
(connection: Connection, databaseName: string, statement: string)
src/lib/connectors/mysql/index.ts:53
↓ 1 callersFunctionfetchData
()
src/components/MarkdownRenderer.tsx:12
↓ 1 callersFunctionfetchPostJSON
(url: string, data?: {})
src/utils/api-helpers.ts:13
↓ 1 callersFunctiongetApiEndpoint
(apiEndpoint: string)
src/pages/api/chat.ts:10
↓ 1 callersFunctiongetCurrencySymbol
(currencyCode: string)
src/utils/misc.ts:1
↓ 1 callersFunctiongetCurrentMonthUsage
(endUser: string)
src/pages/api/utils/usage.ts:5
↓ 1 callersFunctiongetDatabases
(connection: Connection)
src/lib/connectors/postgres/index.ts:76
↓ 1 callersFunctiongetDatabases
(connection: Connection)
src/lib/connectors/mssql/index.ts:48
↓ 1 callersFunctiongetDatabases
(connection: Connection)
src/lib/connectors/mysql/index.ts:71
↓ 1 callersFunctiongetDefaultConversation
()
src/store/conversation.ts:8
↓ 1 callersFunctiongetDefaultProps
()
src/components/kit/TextField.tsx:12
↓ 1 callersFunctiongetDefaultProps
()
src/components/kit/Radio.tsx:12
↓ 1 callersFunctiongetDefaultSetting
()
src/store/setting.ts:6
↓ 1 callersMethodgetInstance
()
src/utils/event-emitter.ts:11
↓ 1 callersFunctiongetMessageFromExecutionResult
(result: ExecutionResult)
src/utils/execution.ts:3
↓ 1 callersFunctiongetPaymentListByEmail
(email: string)
src/pages/api/utils/payment.ts:6
↓ 1 callersFunctiongetPlanFromPriceId
(priceId: string)
src/utils/plan.ts:1
↓ 1 callersFunctiongetPrompt
()
src/components/SchemaDrawer.tsx:23
↓ 1 callersFunctiongetRepoStarCount
()
src/components/GitHubStarBadge.tsx:15
↓ 1 callersFunctiongetStripe
()
src/utils/get-stripejs.ts:7
↓ 1 callersFunctiongetTableSchema
(connection: Connection, databaseName: string)
src/lib/connectors/postgres/index.ts:95
↓ 1 callersFunctiongetTableSchema
(connection: Connection, databaseName: string)
src/lib/connectors/mssql/index.ts:62
↓ 1 callersFunctiongetTableSchema
(connection: Connection, databaseName: string)
src/lib/connectors/mysql/index.ts:87
↓ 1 callersFunctionhandleConnectionSelect
(connection: Connection)
src/components/Sidebar/ConnectionList.tsx:35
↓ 1 callersFunctionhandleConversationSelect
(conversation: Conversation)
src/components/Sidebar/ConversationList.tsx:44
↓ 1 callersFunctionhandleDatabaseNameSelect
(databaseName: string)
src/components/ConnectionSidebar.tsx:149
↓ 1 callersFunctionhandleDeleteConnection
()
src/components/CreateConnectionModal.tsx:236
↓ 1 callersFunctionhandleDeleteConversation
(conversation: Conversation)
src/components/Sidebar/ConversationList.tsx:59
↓ 1 callersFunctionhandleEditConnection
(connection: Connection)
src/components/Sidebar/ConnectionList.tsx:43
↓ 1 callersFunctionhandleEditConversation
(conversation: Conversation)
src/components/Sidebar/ConversationList.tsx:51
↓ 1 callersFunctionhandleExampleClick
(content: string)
src/components/EmptyView.tsx:20
↓ 1 callersFunctionhandleSchemaNameSelect
(schemaName: string)
src/components/ConnectionSidebar.tsx:189
↓ 1 callersFunctionhandleSend
()
src/components/ConversationView/MessageTextarea.tsx:32
↓ 1 callersFunctionhandleWindowResize
()
src/components/ConnectionSidebar.tsx:42
↓ 1 callersFunctionmain
()
prisma/seed.ts:43
↓ 1 callersFunctionmaskedKey
(str: string)
src/components/OpenAIApiConfigView.tsx:55
↓ 1 callersMethodon
(eventName: EventType, callback: Callback)
src/utils/event-emitter.ts:18
↓ 1 callersFunctionrefreshPaymentList
(userId: string)
src/components/PaymentHistoryTable.tsx:13
↓ 1 callersFunctionsyncDatabaseList
()
src/components/ConnectionSidebar.tsx:127
↓ 1 callersFunctiontestConnection
(connection: Connection)
src/lib/connectors/postgres/index.ts:53
↓ 1 callersFunctiontestConnection
(connection: Connection)
src/lib/connectors/mssql/index.ts:29
↓ 1 callersFunctiontestConnection
(connection: Connection)
src/lib/connectors/mysql/index.ts:47
↓ 1 callersFunctiontoggleUpdateConversationModal
(show = true)
src/components/Sidebar/ConversationList.tsx:29
↓ 1 callersFunctionuseLoading
(initialState = true)
src/hooks/useLoading.ts:4
FunctionAccountView
()
src/components/AccountView.tsx:7
FunctionActionConfirmModal
(props: ActionConfirmModalProps)
src/components/ActionConfirmModal.tsx:12
FunctionBetaBadge
(props: Props)
src/components/BetaBadge.tsx:5
FunctionCheckbox
(props: CheckboxProps & { children?: ReactNode })
src/components/kit/Checkbox.tsx:10
FunctionClearConversationButton
()
src/components/ClearConversationButton.tsx:6
FunctionClearConversationConfirmModal
(props: Props)
src/components/ClearConversationConfirmModal.tsx:9
FunctionClearDataButton
()
src/components/ClearDataButton.tsx:5
FunctionClearDataConfirmModal
(props: Props)
src/components/ClearDataConfirmModal.tsx:9
FunctionCodeBlock
(props: Props)
src/components/CodeBlock.tsx:18
FunctionConnectionList
()
src/components/Sidebar/ConnectionList.tsx:16
FunctionConnectionSidebar
()
src/components/ConnectionSidebar.tsx:19
FunctionConversationList
()
src/components/Sidebar/ConversationList.tsx:13
FunctionConversationTab
(props: ConversationTabProps)
src/components/ConversationTabsView.tsx:17
FunctionConversationTabsView
()
src/components/ConversationTabsView.tsx:57
FunctionConversationView
()
src/components/ConversationView/index.tsx:30
FunctionCreateConnectionModal
(props: Props)
src/components/CreateConnectionModal.tsx:89
FunctionDBHubBanner
(props: Props)
src/components/DBHubBanner.tsx:10
FunctionDarkModeSwitch
()
src/components/DarkModeSwitch.tsx:5
FunctionDataStorageBanner
(props: Props)
src/components/DataStorageBanner.tsx:10
FunctionDataTableView
(props: Props)
src/components/ExecutionView/DataTableView.tsx:11
FunctionDropdown
(props: Props)
src/components/kit/Dropdown.tsx:9
next →1–100 of 186, ranked by callers