@neo4j/cypher-builder
Version:
A programmatic API for building Cypher queries for Neo4j
17 lines (16 loc) • 592 B
TypeScript
import { CypherFunction } from "../../expressions/functions/CypherFunctions";
import type { Expr } from "../../types";
/**
* @group Functions
* @see [Apoc Documentation](https://neo4j.com/docs/apoc/current/overview/apoc.date/apoc.date.convertFormat/)
* @deprecated apoc methods will no longer be supported in Cypher Builder version 3
* @example
* ```ts
* Cypher.apoc.date.convertFormat(
* new Cypher.Param("2020-11-04"),
* "date",
* "basic_date"
* )
*```
*/
export declare function convertFormat(temporalParam: Expr, currentFormat: string, convertTo?: string): CypherFunction;