MCPcopy Create free account

hub / github.com/Datakitpage/Datakit / functions

Functions1,611 in github.com/Datakitpage/Datakit

↓ 1 callersMethodcompareSize
* Helper to compare table sizes (rough approximation)
frontend/src/lib/api/postgresService.ts:256
↓ 1 callersFunctionconfigureDuckDB
(conn: duckdb.AsyncDuckDBConnection)
frontend/src/lib/duckdb/init.ts:40
↓ 1 callersMethodconnectionMetaKey
* Generates a cache key for connection metadata
backend/api/src/postgres-proxy/utils/cache.util.ts:267
↓ 1 callersMethodconvertAnalysisResponse
(response: LibAnalysisResponse)
frontend/src/lib/ai/aiService.ts:299
↓ 1 callersFunctionconvertMarkdownToHTML
(markdown: string)
frontend/src/utils/notebookExport.ts:160
↓ 1 callersMethodconvertSQLResponse
(response: LibSQLResponse)
frontend/src/lib/ai/aiService.ts:290
↓ 1 callersMethodconvertToCreateTable
* Convert UPDATE/DELETE/ALTER statements to CREATE TABLE AS SELECT
frontend/src/lib/columnActions/columnActionService.ts:378
↓ 1 callersFunctioncopyRecursive
(src, dest)
cli-node/scripts/copy-dist.js:4
↓ 1 callersFunctioncopyToClipboard
(query: string, id: string)
frontend/src/components/tabs/query/QueryHistory.tsx:39
↓ 1 callersFunctioncopyValue
(value: any)
frontend/src/components/tabs/preview/inspector/components/RowDetailsModal.tsx:79
↓ 1 callersFunctioncopyVariableName
(name: string)
frontend/src/components/tabs/notebooks/VariableInspector.tsx:277
↓ 1 callersFunctioncountCsvRows
* Quickly estimate the number of rows in a CSV string
frontend/src/lib/google/sheetsUtils.ts:203
↓ 1 callersMethodcreateConnection
(config: CreateConnectionRequest)
frontend/src/lib/api/postgresService.ts:33
↓ 1 callersMethodcreateCookieAuthScenario
(accessToken: string, refreshToken: string)
backend/integration_tests/fixtures/auth.fixtures.ts:239
↓ 1 callersFunctioncreateCountQuery
(sql: string)
frontend/src/lib/duckdb/utils.ts:55
↓ 1 callersFunctioncreateCsvViewWithFallback
( conn: duckdb.AsyncDuckDBConnection, escapedTableName: string, registeredFileName: string )
frontend/src/lib/duckdb/ingestion/csv/utils.ts:129
↓ 1 callersFunctioncreateDuckDBBridge
(duckDBStore: any)
frontend/src/lib/python/init.ts:348
↓ 1 callersMethodcreateExpiredCookieAuthScenario
(userId: string, email: string)
backend/integration_tests/fixtures/auth.fixtures.ts:246
↓ 1 callersFunctioncreateImportStrategies
( duckDB: ReturnType<typeof useDuckDBStore>, datasetId: string, options: HFImportOptions = {} )
frontend/src/hooks/remote/huggingface/importStrategies.ts:412
↓ 1 callersMethodcreateInvalidCookieAuthScenario
()
backend/integration_tests/fixtures/auth.fixtures.ts:253
↓ 1 callersFunctioncreateJsonViewWithFallback
( conn: duckdb.AsyncDuckDBConnection, escapedTableName: string, registeredFileName: string )
frontend/src/lib/duckdb/ingestion/json/utils.ts:131
↓ 1 callersMethodcreateMixedSubscriptions
(userIds: string[])
backend/integration_tests/fixtures/subscription.fixtures.ts:136
↓ 1 callersMethodcreateMonthlyUsage
(userId: string, month: number, year: number)
backend/integration_tests/fixtures/credit.fixtures.ts:106
↓ 1 callersFunctioncreateMultiTableSystemPrompt
( context: MultiTableContext )
frontend/src/lib/ai/prompts/sqlPrompts.ts:117
↓ 1 callersMethodcreateMultipleRefreshTokens
(userId: string, count: number)
backend/integration_tests/fixtures/auth.fixtures.ts:203
↓ 1 callersMethodcreatePersonalWorkspace
(user: User)
backend/api/src/workspaces/workspaces.service.ts:23
↓ 1 callersFunctioncreateSQLOnlyMultiTableSystemPrompt
( context: MultiTableContext )
frontend/src/lib/ai/prompts/sqlPrompts.ts:13
↓ 1 callersFunctioncreateStreamingView
( duckDB: ReturnType<typeof useDuckDBStore>, datasetId: string, parquetUrl: string, options: HFImportO
frontend/src/hooks/remote/huggingface/importStrategies.ts:59
↓ 1 callersMethodcreateUsageFromDaysAgo
(days: number, userId: string)
backend/integration_tests/fixtures/credit.fixtures.ts:96
↓ 1 callersMethodcreateUsageNearLimit
(userId: string, remainingCredits: number = 5)
backend/integration_tests/fixtures/credit.fixtures.ts:168
↓ 1 callersFunctioncreateWelcomeCells
()
frontend/src/lib/python/welcomeCells.ts:8
↓ 1 callersFunctiondebugHistogramGeneration
( connection: duckdb.AsyncDuckDBConnection, tableName: string, columnName: string )
frontend/src/lib/duckdb/inspector/inspector.ts:188
↓ 1 callersMethoddelete
(id: string, userId: string)
backend/api/src/workspaces/workspaces.service.ts:105
↓ 1 callersMethoddeleteConnection
(id: string)
frontend/src/lib/api/postgresService.ts:53
↓ 1 callersFunctiondetectCategoricalIssues
( connection: duckdb.AsyncDuckDBConnection, tableName: string, columnName: string )
frontend/src/lib/duckdb/inspector/analysis/categorical.ts:174
↓ 1 callersMethoddetectColumnTypes
* Detect column types from sample data
frontend/src/lib/data/dataProcessingUtil.ts:42
↓ 1 callersFunctiondetectGeneralQualityIssues
( connection: duckdb.AsyncDuckDBConnection, tableName: string, columnNames: string[] )
frontend/src/lib/duckdb/inspector/analysis/quality.ts:174
↓ 1 callersFunctiondetectIframe
()
frontend/src/hooks/useIframeDetection.ts:11
↓ 1 callersFunctiondetectPropertyTypes
(json: any[])
frontend/src/hooks/stream/useStreamingJSONParser.ts:50
↓ 1 callersFunctiondetectQueryIntent
(prompt: string)
frontend/src/components/tabs/ai/utils/smartParsing.ts:168
↓ 1 callersFunctiondetectStatusPhase
* Smart status phase detection based on context and position
frontend/src/components/tabs/ai/utils/smartParsing.ts:27
↓ 1 callersFunctiondetectTableModifyingSQL
(sql: string)
frontend/src/lib/duckdb/ingestion/tables.ts:276
↓ 1 callersFunctiondetect_column_types
(data: &Vec<Vec<String>>)
frontend/wasm-src/data-processing/src/csv.rs:40
↓ 1 callersMethoddetermineTarget
* Determine the final routing target based on classified tables
frontend/src/lib/duckdb/utils/queryRouter.ts:245
↓ 1 callersFunctiondiscoverAllTables
( connection: duckdb.AsyncDuckDBConnection, knownTables: Map<string, string> = new Map() )
frontend/src/lib/duckdb/ingestion/tables.ts:124
↓ 1 callersFunctionduckDBTypeFromColumnType
(colType: ColumnType)
frontend/src/lib/duckdb/utils.ts:76
↓ 1 callersFunctionduckDBTypeFromColumnType
(colType: ColumnType)
frontend/src/store/duckDBStore.ts:388
↓ 1 callersMethodensureCorrectTableName
* Ensure the SQL uses the correct new table name
frontend/src/lib/columnActions/columnActionService.ts:435
↓ 1 callersFunctionensureSafeJSON
(value: any)
frontend/src/lib/duckdb/utils.ts:121
↓ 1 callersMethodensureTypeSafety
* Post-process SQL to ensure type safety for conversions
frontend/src/lib/columnActions/columnActionService.ts:444
↓ 1 callersFunctionescapeRegExp
(string: string)
frontend/src/lib/duckdb/sqlSanitizer.ts:34
↓ 1 callersFunctionescapeTableName
(tableName: string)
frontend/src/hooks/remote/huggingface/duckdb.ts:92
↓ 1 callersMethodestimateCredits
( modelId: string, inputTokens: number, outputTokens?: number )
frontend/src/services/creditsService.ts:40
↓ 1 callersMethodestimateDownloadSize
(modelId: string)
frontend/src/lib/ai/providers/webllm.ts:421
↓ 1 callersMethodevictLeastRecentlyUsed
* Evict least recently used entry
backend/api/src/postgres-proxy/utils/cache.util.ts:203
↓ 1 callersMethodexecuteAction
* Execute a column action with appropriate strategy
frontend/src/lib/columnActions/columnActionService.ts:256
↓ 1 callersFunctionexecutePythonCode
( code: string )
frontend/src/lib/python/executor.ts:8
↓ 1 callersMethodexecuteQuery
( @Request() req: any, @Param('connectionId') connectionId: string, @Body() queryDto: ExecuteQuery
backend/api/src/postgres-proxy/postgres-proxy.controller.ts:145
↓ 1 callersFunctionexecuteStrategiesWithFallback
( strategies: ImportStrategy[], onStrategyStart?: (strategyName: string) => void, onStrategyFail?: (stra
frontend/src/hooks/remote/huggingface/importStrategies.ts:502
↓ 1 callersFunctionexportAsJupyterNotebook
( cells: PythonCell[], notebookName: string = 'DataKit_Notebook' )
frontend/src/utils/notebookExport.ts:48
↓ 1 callersFunctionexportCSVFromDuckDB
( duckDBStore: any, tableName: string, fileName: string, options: DataExportOptions = {} )
frontend/src/components/tabs/preview/inspector/utils/dataExportUtils.ts:12
↓ 1 callersFunctionexportChart
( column: any, format: 'svg' | 'png' = 'svg', fileName?: string, options: ChartExportOptions = {} )
frontend/src/components/tabs/preview/inspector/utils/chartExportUtils.ts:187
↓ 1 callersFunctionexportChartAsPNG
(chartData: CategoricalData[], type: string)
frontend/src/components/tabs/preview/inspector/components/charts/NivoCategoricalChart.tsx:123
↓ 1 callersFunctionexportChartAsPNG
(chartData: HistogramData[], type: string)
frontend/src/components/tabs/preview/inspector/components/charts/NivoHistogram.tsx:101
↓ 1 callersFunctionexportChartAsPNG
( column: any, fileName?: string, options: ChartExportOptions = {} )
frontend/src/components/tabs/preview/inspector/utils/chartExportUtils.ts:139
↓ 1 callersFunctionexportChartAsSVG
(chartData: CategoricalData[], type: string)
frontend/src/components/tabs/preview/inspector/components/charts/NivoCategoricalChart.tsx:206
↓ 1 callersFunctionexportChartAsSVG
(chartData: HistogramData[], type: string)
frontend/src/components/tabs/preview/inspector/components/charts/NivoHistogram.tsx:179
↓ 1 callersFunctionexportChartAsSVG
( column: any, fileName?: string, options: ChartExportOptions = {} )
frontend/src/components/tabs/preview/inspector/utils/chartExportUtils.ts:111
↓ 1 callersFunctionexportColumnData
( duckDBStore: any, tableName: string, columnName: string, format: string, activeFile?: { fileName?:
frontend/src/components/tabs/preview/inspector/utils/dataExportUtils.ts:148
↓ 1 callersFunctionexportHTMLReport
( currentResults: InspectorMetrics, activeFile?: { fileName: string }, options?: HTMLReportOptions )
frontend/src/components/tabs/preview/inspector/utils/htmlReportUtils.ts:125
↓ 1 callersFunctionexportJSONFromResults
( results: any, activeFile?: { fileName?: string }, options: DataExportOptions = {} )
frontend/src/components/tabs/preview/inspector/utils/dataExportUtils.ts:47
↓ 1 callersFunctionexportNotebookAsPDF
( cells: PythonCell[], notebookName: string = 'DataKit_Notebook' )
frontend/src/utils/notebookExport.ts:242
↓ 1 callersFunctionexportPDFReport
( results: InspectorMetrics, activeFile?: { fileName?: string }, options: ReportExportOptions = {} )
frontend/src/components/tabs/preview/inspector/utils/reportExportUtils.ts:405
↓ 1 callersFunctionexportParquetCompatible
( duckDBStore: any, tableName: string, activeFile?: { fileName?: string }, options: DataExportOptions
frontend/src/components/tabs/preview/inspector/utils/dataExportUtils.ts:80
↓ 1 callersFunctionexportQueryAsCSV
( results: any[][] = [], columns: string[] = [], filename: string = 'Query_Results' )
frontend/src/utils/queryExport.ts:21
↓ 1 callersFunctionexportQueryAsJSON
( queryResult: QueryResult, options: QueryExportOptions = {} )
frontend/src/utils/queryExport.ts:55
↓ 1 callersFunctionexportQueryAsPDF
( queryResult: QueryResult, filename: string = 'Query_Results' )
frontend/src/utils/queryExport.ts:236
↓ 1 callersFunctionexportQueryAsSQL
( query: string, filename: string = 'Query' )
frontend/src/utils/queryExport.ts:100
↓ 1 callersMethodextractActionFromPrompt
* Extract a short action keyword from the prompt
frontend/src/lib/duckdb/transformations.ts:86
↓ 1 callersMethodextractExplanation
(content: string)
frontend/src/lib/ai/providers/webllm.ts:339
↓ 1 callersMethodextractExplanation
(content: string)
frontend/src/lib/ai/providers/openai.ts:244
↓ 1 callersMethodextractExplanation
(content: string)
frontend/src/lib/ai/providers/ollama.ts:349
↓ 1 callersMethodextractExplanation
(content: string)
frontend/src/lib/ai/providers/datakit.ts:320
↓ 1 callersMethodextractExplanation
(content: string)
frontend/src/lib/ai/providers/anthropic.ts:308
↓ 1 callersFunctionextractImportOptionsFromUrl
( organization: string, dataset: string, searchParams: URLSearchParams )
frontend/src/utils/datasetUrlHandler.ts:103
↓ 1 callersMethodextractInsights
(content: string)
frontend/src/lib/ai/providers/webllm.ts:371
↓ 1 callersMethodextractInsights
(content: string)
frontend/src/lib/ai/providers/openai.ts:278
↓ 1 callersMethodextractInsights
(content: string)
frontend/src/lib/ai/providers/ollama.ts:383
↓ 1 callersMethodextractInsights
(content: string)
frontend/src/lib/ai/providers/datakit.ts:356
↓ 1 callersMethodextractInsights
(content: string)
frontend/src/lib/ai/providers/anthropic.ts:344
↓ 1 callersMethodextractSQL
(content: string)
frontend/src/lib/ai/providers/webllm.ts:321
↓ 1 callersMethodextractSQL
(content: string)
frontend/src/lib/ai/providers/openai.ts:224
↓ 1 callersMethodextractSQL
(content: string)
frontend/src/lib/ai/providers/ollama.ts:329
↓ 1 callersMethodextractSQL
(content: string)
frontend/src/lib/ai/providers/datakit.ts:300
↓ 1 callersMethodextractSQL
(content: string)
frontend/src/lib/ai/providers/anthropic.ts:288
↓ 1 callersFunctionextractStructuredData
(response: string)
frontend/src/components/tabs/ai/utils/smartParsing.ts:85
↓ 1 callersMethodextractSuggestions
(content: string)
frontend/src/lib/ai/providers/webllm.ts:394
↓ 1 callersMethodextractSuggestions
(content: string)
frontend/src/lib/ai/providers/openai.ts:303
↓ 1 callersMethodextractSuggestions
(content: string)
frontend/src/lib/ai/providers/ollama.ts:408
↓ 1 callersMethodextractSuggestions
(content: string)
frontend/src/lib/ai/providers/datakit.ts:381
← previousnext →401–500 of 1,611, ranked by callers