MCPcopy Create free account
hub / github.com/Datakitpage/Datakit / executeQuery

Method executeQuery

frontend/src/lib/api/postgresService.ts:153–156  ·  view source on GitHub ↗
(connectionId: string, query: QueryRequest)

Source from the content-addressed store, hash-verified

151
152 // Query Execution
153 async executeQuery(connectionId: string, query: QueryRequest): Promise<QueryResult> {
154 const response = await apiClient.post<BackendResponse<QueryResult>>(`${this.baseUrl}/connections/${connectionId}/query`, query);
155 return response.data;
156 }
157
158 // Health Check
159 async healthCheck(): Promise<{ status: string; timestamp: string }> {

Callers 15

selectFromTableMethod · 0.95
testConnectionHealthMethod · 0.95
useGoogleDriveImportFunction · 0.45
handleKeyDownFunction · 0.45
postgresStore.tsFile · 0.45
duckDBStore.tsFile · 0.45
useRemoteFileImportFunction · 0.45
useDataPreviewFunction · 0.45
useGCSImportFunction · 0.45
useS3ImportFunction · 0.45
createStreamingViewFunction · 0.45
importAlternativeFormatFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected