fix(query): single-column results editable on case-preserving engines
This commit is contained in:
5 files changed
+113
-7
No files matched your search
@@ -141,7 +141,12 @@ const groupedDisplayMetadataLimiter = new MetadataTaskLimiter(GROUPED_DISPLAY_ME
|
||||
console.debug("[DBX][metadata-load:grouped-display-limiter]", event);
|
||||
});
|
||||
const UPPERCASE_FOLDED_METADATA_TYPES = new Set<string>([...ORACLE_LIKE_METADATA_TYPES, "saphana"]);
|
||||
const HIDDEN_QUERY_KEY_DATABASE_TYPES = new Set<DatabaseType>(["mysql", "postgres", "sqlserver", "oracle", "xugu"]);
|
||||
// Engines whose SQL takes dbx's appended hidden primary-key projection. The rewrite
|
||||
// quotes the key through the engine's own semantic dialect adapter, so Dameng and
|
||||
// OceanBase Oracle mode ride the Oracle adapter and HighGo rides the PostgreSQL one
|
||||
// (issue #10233: without this, a query that omits the primary key stays read-only
|
||||
// even though the table has one).
|
||||
const HIDDEN_QUERY_KEY_DATABASE_TYPES = new Set<DatabaseType>(["mysql", "postgres", "sqlserver", "oracle", "xugu", "dameng", "highgo", "oceanbase-oracle"]);
|
||||
const QUERY_RESULT_EXPORT_UNSUPPORTED_ERROR = "Streaming export is unsupported for this query. Simplify it or use a supported driver.";
|
||||
const BACKGROUND_CLIENT_SESSION_SUFFIXES = ["count", "explain", "export"] as const;
|
||||
const CANCEL_QUERY_TIMEOUT_MS = 10_000;
|
||||
|
||||
Reference in new issue
Block a user