fix(neo4j): pick node identity function by server version

This commit is contained in:
zipg authored and GitHub committed 2026-09-28 23:01:49 +08:00
1 parent 9bb52c198f
commit 625d84bb4a
25 files changed
+461 -30

No files matched your search

@@ -13,6 +13,10 @@ import type { SqlSemanticToken } from "@/lib/sql/semantic/types";
export interface BuildTableSelectSqlOptions {
databaseType?: DatabaseType;
driverProfile?: string;
/** Server version reported by the connection (for example `Neo4j/4.4.44`). Engines that
* renamed a built-in function across releases (Neo4j below 5 uses `id()` where 5+ uses
* `elementId()`) need it to generate SQL the connected server understands. */
serverVersion?: string;
identifierQuote?: string;
schema?: string;
tableName: string;