diff --git a/packages/core/src/spatial-types.ts b/packages/core/src/spatial-types.ts index d042050c6..53e262598 100644 --- a/packages/core/src/spatial-types.ts +++ b/packages/core/src/spatial-types.ts @@ -65,6 +65,7 @@ export class Point { * @ignore */ toString (): string { + // Update this in 7.0 to be copy-pasteable into cypher (currently missing parenthesis) return this.z != null && !isNaN(this.z) ? `Point{srid=${formatAsFloat(this.srid)}, x=${formatAsFloat( this.x diff --git a/packages/neo4j-driver-deno/lib/core/spatial-types.ts b/packages/neo4j-driver-deno/lib/core/spatial-types.ts index 6ec14ebd3..10c1efd9c 100644 --- a/packages/neo4j-driver-deno/lib/core/spatial-types.ts +++ b/packages/neo4j-driver-deno/lib/core/spatial-types.ts @@ -65,6 +65,7 @@ export class Point { * @ignore */ toString (): string { + // Update this in 7.0 to be copy-pasteable into cypher (currently missing parenthesis) return this.z != null && !isNaN(this.z) ? `Point{srid=${formatAsFloat(this.srid)}, x=${formatAsFloat( this.x