Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Datakitpage/Datakit
/ functions
Functions
1,611 in github.com/Datakitpage/Datakit
⨍
Functions
1,611
◇
Types & classes
664
↳
Endpoints
2
Method
constructor
(private readonly workspacesService: WorkspacesService)
backend/api/src/workspaces/workspaces.controller.ts:20
Method
constructor
( @InjectRepository(Workspace) private workspaceRepository: Repository<Workspace>, @InjectReposito
backend/api/src/workspaces/workspaces.service.ts:13
Method
constructor
(private readonly postgresProxyService: PostgresProxyService)
backend/api/src/postgres-proxy/postgres-proxy.controller.ts:29
Method
constructor
( @InjectRepository(PostgresConnection) private readonly connectionRepository: Repository<PostgresConn
backend/api/src/postgres-proxy/postgres-proxy.service.ts:54
Method
constructor
(options: CacheOptions = {})
backend/api/src/postgres-proxy/utils/cache.util.ts:35
Method
constructor
( private configService: ConfigService, private creditsService: CreditsService, private rateLimite
backend/api/src/ai/ai.service.ts:50
Method
constructor
(private aiService: AIService)
backend/api/src/ai/streaming.service.ts:17
Method
constructor
( private aiService: AIService, private streamingService: StreamingService, private creditsService
backend/api/src/ai/ai.controller.ts:19
Method
constructor
()
backend/api/src/ai/queue/rate-limiter.service.ts:31
Method
constructor
( @InjectRepository(CreditUsage) private creditUsageRepository: Repository<CreditUsage>, private s
backend/api/src/credits/credits.service.ts:33
Method
constructor
(private readonly creditsService: CreditsService)
backend/api/src/credits/credits.controller.ts:17
Method
constructor
(private configService: ConfigService)
backend/api/src/slack/slack.service.ts:16
Method
constructor
(private readonly waitlistService: WaitlistService)
backend/api/src/waitlist/waitlist.controller.ts:20
Method
constructor
( @InjectRepository(Waitlist) private waitlistRepository: Repository<Waitlist>, private slackServi
backend/api/src/waitlist/waitlist.service.ts:14
Method
constructor
(private readonly subscriptionsService: SubscriptionsService)
backend/api/src/subscriptions/subscriptions.controller.ts:17
Method
constructor
( @InjectRepository(Subscription) private subscriptionsRepository: Repository<Subscription>, )
backend/api/src/subscriptions/subscriptions.service.ts:13
Function
containsPlotting
(code: string)
frontend/src/lib/python/executor.ts:290
Function
convertExcelToCSV
(file: File)
frontend/src/lib/excelConverter.ts:6
Method
createAuthTestingScenarios
* Creates scenarios for testing different authentication states
backend/integration_tests/fixtures/index.ts:170
Function
createCSVFile
(csvData: string, fileName: string)
frontend/src/lib/excelConverter.ts:57
Method
createCanceledSubscription
(userId: string, planType: 'STARTER' | 'PRO' | 'ENTERPRISE')
backend/integration_tests/fixtures/subscription.fixtures.ts:122
Method
createCheckoutSession
(priceId: string)
frontend/src/lib/api/userService.ts:98
Method
createConnection
( @Request() req: any, @Body() createDto: CreatePostgresConnectionDto, )
backend/api/src/postgres-proxy/postgres-proxy.controller.ts:58
Method
createConnection
( userId: string, createDto: CreatePostgresConnectionDto, )
backend/api/src/postgres-proxy/postgres-proxy.service.ts:280
Method
createConnectionFingerprint
* Creates a connection fingerprint for caching
backend/api/src/postgres-proxy/utils/security.util.ts:199
Method
createDataLoadResult
* Create DataLoadWithDuckDBResult from processed data
frontend/src/lib/data/dataProcessingUtil.ts:86
Method
createDowngradeScenario
(userId: string)
backend/integration_tests/fixtures/subscription.fixtures.ts:156
Method
createEnterpriseScenario
* Creates an enterprise scenario with multiple plans and heavy usage
backend/integration_tests/fixtures/index.ts:109
Method
createExpiredRefreshTokenData
(userId: string)
backend/integration_tests/fixtures/auth.fixtures.ts:188
Method
createExpiredSubscription
(userId: string, planType: 'STARTER' | 'PRO' | 'ENTERPRISE')
backend/integration_tests/fixtures/subscription.fixtures.ts:113
Function
createHandleStreamReader
( handle: FileSystemFileHandle, options: StreamReaderOptions = {} )
frontend/src/lib/streamReader.ts:212
Method
createHashedPassword
(plainPassword: string = 'SecurePass2023!@')
backend/integration_tests/fixtures/user.fixtures.ts:23
Method
createLimitTestingScenario
* Creates scenarios for testing subscription limits and credit exhaustion
backend/integration_tests/fixtures/index.ts:140
Method
createModelComparisonUsage
(userId: string)
backend/integration_tests/fixtures/credit.fixtures.ts:223
Method
createMultipleAuthenticatedUsers
* Create multiple authenticated users for testing
backend/integration_tests/utils/test-helpers.ts:269
Method
createPortalSession
()
frontend/src/lib/api/userService.ts:104
Method
createRevokedRefreshTokenData
(userId: string)
backend/integration_tests/fixtures/auth.fixtures.ts:195
Function
createStyledHTMLContent
(content: string)
frontend/src/utils/exportUtils.ts:170
Method
createSubscriptionsForUsers
(userIds: string[], planType: 'FREE' | 'STARTER' | 'PRO' | 'ENTERPRISE' = 'FREE')
backend/integration_tests/fixtures/subscription.fixtures.ts:132
Method
createSuspiciousLoginAttempts
(userId: string)
backend/integration_tests/fixtures/auth.fixtures.ts:218
Method
createTeamScenario
* Creates a team scenario with multiple users, shared workspaces, and collaborations
backend/integration_tests/fixtures/index.ts:69
Method
createTrialSubscription
(userId: string, daysRemaining: number = 14)
backend/integration_tests/fixtures/subscription.fixtures.ts:100
Method
createUpgradeScenario
(userId: string)
backend/integration_tests/fixtures/subscription.fixtures.ts:146
Method
createUsageAnalyticsScenario
(userId: string)
backend/integration_tests/fixtures/credit.fixtures.ts:206
Method
createUsageOverLimit
(userId: string)
backend/integration_tests/fixtures/credit.fixtures.ts:192
Method
createUsersWithWorkspaces
(count: number)
backend/integration_tests/fixtures/user.fixtures.ts:86
Method
createValidRefreshTokenData
(userId: string)
backend/integration_tests/fixtures/auth.fixtures.ts:181
Function
createWorkspace
(data: CreateWorkspaceData)
frontend/src/lib/api/workspaceService.ts:22
Method
createWorkspaceHierarchy
(ownerId: string)
backend/integration_tests/fixtures/workspace.fixtures.ts:137
Method
createWorkspaceMemberData
(overrides: Partial<CreateWorkspaceMemberData> = {})
backend/integration_tests/fixtures/workspace.fixtures.ts:29
Method
createWorkspaceUsage
(userId: string, workspaceId: string, operationsCount: number)
backend/integration_tests/fixtures/credit.fixtures.ts:149
Method
createWorkspaceWithMembers
( workspaceData: CreateWorkspaceData, memberUserIds: string[], roles: Array<'OWNER' | 'ADMIN' | 'M
backend/integration_tests/fixtures/workspace.fixtures.ts:116
Method
debugConnection
( @Request() req: any, @Param('connectionId') connectionId: string, )
backend/api/src/postgres-proxy/postgres-proxy.controller.ts:405
Method
decodeToken
(token: string)
backend/integration_tests/fixtures/auth.fixtures.ts:261
Method
delete
(@Param('id') id: string, @Request() req)
backend/api/src/workspaces/workspaces.controller.ts:49
Method
deleteAccount
(password: string)
frontend/src/lib/api/userService.ts:43
Method
deleteConnection
( @Request() req: any, @Param('connectionId') connectionId: string, )
backend/api/src/postgres-proxy/postgres-proxy.controller.ts:127
Method
deleteConnection
(userId: string, connectionId: string)
backend/api/src/postgres-proxy/postgres-proxy.service.ts:372
Function
deleteWorkspace
(id: string)
frontend/src/lib/api/workspaceService.ts:43
Function
detectColumnTypes
( data: string[][], sourceType: DataSourceType = DataSourceType.CSV )
frontend/src/hooks/stream/useDataParser.ts:208
Function
detectOutliers
( connection: duckdb.AsyncDuckDBConnection, tableName: string, columnName: string, method: "iqr" | "zs
frontend/src/lib/duckdb/inspector/analysis/numeric.ts:412
Function
detectTextQualityIssues
( connection: duckdb.AsyncDuckDBConnection, tableName: string, columnName: string )
frontend/src/lib/duckdb/inspector/analysis/text.ts:428
Method
down
(queryRunner: QueryRunner)
backend/api/src/migrations/1752185454246-CreateWaitlistTable.ts:38
Method
down
(queryRunner: QueryRunner)
backend/api/src/migrations/1752185454247-CreatePostgresConnectionsTable.ts:48
Function
downloadCSV
()
frontend/src/components/tabs/query/query-results/QueryResultsHeader.tsx:38
Function
downloadWithRetry
( url: string, options: { maxRetries?: number; retryDelay?: number; onProgress?: (loaded: numb
frontend/src/hooks/remote/huggingface/network.ts:241
Function
escapeTableName
(tableName: string)
frontend/src/lib/duckdb/utils.ts:66
Method
estimateCredits
(@Body() estimateDto: EstimateCreditsDto)
backend/api/src/credits/credits.controller.ts:72
Function
estimateDownloadTime
( fileSizeBytes: number, connectionSpeedBps?: number )
frontend/src/hooks/remote/huggingface/network.ts:284
Function
estimateMemorySafety
( fileSizeBytes: number, safetyFactor: number = 3 )
frontend/src/hooks/remote/huggingface/utils.ts:180
Method
estimateModelDownloadSize
(modelId: string)
frontend/src/lib/ai/aiService.ts:235
Method
executeConfig
(queries: string[], index = 0)
backend/api/src/postgres-proxy/utils/database.util.ts:43
Function
exitFullScreen
()
frontend/src/hooks/useWorkspaceState.ts:42
Method
expectForbidden
* Expect a forbidden error response
backend/integration_tests/utils/test-helpers.ts:253
Method
expectNotFound
* Expect a not found error response
backend/integration_tests/utils/test-helpers.ts:261
Method
expectPaginatedResponse
* Verify response has correct structure for paginated results
backend/integration_tests/utils/test-helpers.ts:296
Function
exportAllProblems
( activeFileId: string, activeTableName: string, activeFileName?: string, options: ProblemExportOption
frontend/src/components/tabs/preview/inspector/utils/problemExportUtils.ts:67
Function
exportAsCSV
(data: any[], columnName: string, fileName: string)
frontend/src/components/tabs/preview/inspector/utils/exportUtils.ts:24
Function
exportAsMarkdown
( cells: PythonCell[], documentName: string = 'DataKit_Document' )
frontend/src/utils/notebookExport.ts:296
Function
exportAsPythonScript
( cells: PythonCell[], scriptName: string = 'DataKit_Script' )
frontend/src/utils/notebookExport.ts:264
Function
exportAsText
(data: any[], fileName: string)
frontend/src/components/tabs/preview/inspector/utils/exportUtils.ts:36
Function
exportHTMLReport
( results: InspectorMetrics, activeFile?: { fileName?: string }, options: ReportExportOptions = {} )
frontend/src/components/tabs/preview/inspector/utils/reportExportUtils.ts:385
Function
exportQuery
( queryResult: QueryResult, format: 'csv' | 'json' | 'sql' | 'pdf', filename?: string )
frontend/src/utils/queryExport.ts:277
Method
exportSettings
()
frontend/src/lib/ai/modelManager.ts:269
Function
extractColumnTypes
(schemaResult: any)
frontend/src/hooks/remote/huggingface/duckdb.ts:145
Function
extractColumnsFromResult
(result: any)
frontend/src/lib/duckdb/sqlSanitizer.ts:41
Function
extractCompletedThinkingSteps
(text: string)
frontend/src/components/tabs/ai/utils/aiResponseParser.ts:97
Function
extractTableSchema
(result: any[])
frontend/src/lib/duckdb/utils.ts:213
Method
extractTokenFromCookie
* Extract JWT token from cookie string
backend/integration_tests/utils/test-helpers.ts:125
Method
findAll
(@Request() req)
backend/api/src/workspaces/workspaces.controller.ts:23
Method
findAll
(userId: string)
backend/api/src/workspaces/workspaces.service.ts:52
Method
findAll
(@Query('feature') feature?: string)
backend/api/src/waitlist/waitlist.controller.ts:35
Method
findAll
()
backend/api/src/waitlist/waitlist.service.ts:62
Method
findByEmail
(email: string)
backend/api/src/waitlist/waitlist.service.ts:84
Method
findMyEntries
(@Request() req)
backend/api/src/waitlist/waitlist.controller.ts:44
Method
findOne
(@Param('id') id: string)
backend/api/src/users/users.controller.ts:53
Method
findOne
(@Param('id') id: string, @Request() req)
backend/api/src/workspaces/workspaces.controller.ts:28
Function
fixCommonSQLIssues
(sql: string)
frontend/src/lib/duckdb/sqlSanitizer.ts:51
Function
fixUnionQueries
(sql: string, tableName: string)
frontend/src/lib/duckdb/sqlSanitizer.ts:89
Function
formatFileSize
(bytes: number)
frontend/src/hooks/stream/useStreamingCSVParser.ts:421
← previous
next →
1,101–1,200 of 1,611, ranked by callers