feat(editor): support SQL Server cross-database completion
This commit is contained in:
19 files changed
+438
-75
No files matched your search
@@ -37,6 +37,11 @@ export const SCHEMA_AWARE_TYPES = new Set<DatabaseType>([
|
||||
"duckdb",
|
||||
]);
|
||||
|
||||
// Engines where an object can be addressed as database/catalog.schema.table.
|
||||
// Keep this narrower than SCHEMA_AWARE_TYPES: PostgreSQL, for example, cannot
|
||||
// query another database through a three-part name on the same connection.
|
||||
export const DATABASE_SCHEMA_QUALIFIED_TYPES = new Set<DatabaseType>(["sqlserver", "trino", "prestosql"]);
|
||||
|
||||
export const SINGLE_DATABASE_TYPES = new Set<DatabaseType>(["oracle", "dameng", "firebird", "oceanbase-oracle", "access", "questdb"]);
|
||||
|
||||
export const CLEARABLE_QUERY_SCHEMA_TYPES = new Set<DatabaseType>(["oracle", "dameng", "gaussdb", "oceanbase-oracle"]);
|
||||
|
||||
Reference in new issue
Block a user