fix(packages): route gaussdb and opengauss through direct query (#547)
This commit is contained in:
1 parent
0eacda465e
commit
bc79fa4683
3 files changed
+23
-18
No files matched your search
@@ -4,6 +4,14 @@ import { inspectConnectionStore } from "./connections.js";
|
||||
|
||||
export const DIRECT_QUERY_TYPES = ["postgres", "redshift", "mysql", "doris", "starrocks", "sqlite", "gaussdb", "opengauss"] as const;
|
||||
|
||||
export type DirectQueryType = (typeof DIRECT_QUERY_TYPES)[number];
|
||||
|
||||
const DIRECT_QUERY_TYPE_SET = new Set<string>(DIRECT_QUERY_TYPES);
|
||||
|
||||
export function isDirectQueryType(dbType: string): dbType is DirectQueryType {
|
||||
return DIRECT_QUERY_TYPE_SET.has(dbType);
|
||||
}
|
||||
|
||||
export const BRIDGE_REQUIRED_TYPES = [
|
||||
"redis",
|
||||
"mongodb",
|
||||
|
||||
Reference in new issue
Block a user