diff --git a/packages/core/src/spatial-types.ts b/packages/core/src/spatial-types.ts index d042050c6..18c264ed0 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 { + // TODO 7.0: 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..5d8246df9 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 { + // TODO 7.0: 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