feat(spanner): add Google Cloud Spanner support

This commit is contained in:
Frost authored and GitHub committed 2026-08-20 16:33:09 +08:00
1 parent 2cc8d78e64
commit f494f90c30
74 files changed
+2920 -53

No files matched your search

@@ -77,6 +77,9 @@ export function useSidebarTableMutationRuntime(options: SidebarTableMutationRunt
databaseType: currentDatabaseType(),
schema: activeNode.value.schema,
tableName: activeNode.value.label,
// Cloud Spanner's two dialects quote differently, so admin SQL needs the quote the connected
// agent reported rather than the static per-type mapping.
identifierQuote: connectionStore.connectionIdentifierQuote?.(activeNode.value.connectionId),
};
if (optionsOverride?.cascade) result.cascade = true;
return result;
@@ -87,6 +90,7 @@ export function useSidebarTableMutationRuntime(options: SidebarTableMutationRunt
databaseType: databaseTypeForNode(node),
schema: node.schema,
tableName: node.label,
identifierQuote: connectionStore.connectionIdentifierQuote?.(node.connectionId),
};
if (optionsOverride?.cascade) result.cascade = true;
return result;