UNPKG

@neo4j/cypher-builder

Version:

A programmatic API for building Cypher queries for Neo4j

20 lines (19 loc) 812 B
import type { Expr } from "../../types"; import { CypherFunction } from "./CypherFunctions"; /** * @see {@link https://neo4j.com/docs/cypher-manual/current/functions/spatial/ | Cypher Documentation} * @group Functions * @category Spatial */ export declare function point(variable: Expr): CypherFunction; export declare namespace point { var distance: (lexpr: Expr, rexpr: Expr) => CypherFunction; var withinBBox: (point: Expr, lexpr: Expr, rexpr: Expr) => CypherFunction; } /** * @see {@link https://neo4j.com/docs/cypher-manual/4.3/functions/spatial/#functions-distance | Cypher Documentation} * @group Functions * @category Spatial * @deprecated No longer supported in Neo4j 5. Use {@link point.distance} instead. */ export declare function distance(lexpr: Expr, rexpr: Expr): CypherFunction;