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

Method constructor

frontend/src/lib/duckdb/utils/queryRouter.ts:39–47  ·  view source on GitHub ↗
(
    postgresVirtualTables: Map<string, PostgreSQLVirtualTable> = new Map(),
    postgresActiveConnections: Set<string> = new Set(),
    motherduckDatabases: Set<string> = new Set()
  )

Source from the content-addressed store, hash-verified

37 private motherduckDatabases: Set<string>;
38
39 constructor(
40 postgresVirtualTables: Map<string, PostgreSQLVirtualTable> = new Map(),
41 postgresActiveConnections: Set<string> = new Set(),
42 motherduckDatabases: Set<string> = new Set()
43 ) {
44 this.postgresVirtualTables = postgresVirtualTables;
45 this.postgresActiveConnections = postgresActiveConnections;
46 this.motherduckDatabases = motherduckDatabases;
47 }
48
49 /**
50 * Analyze a SQL query and determine the best execution target

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected