UNPKG

@neo4j/cypher-builder

Version:

A programmatic API for building Cypher queries for Neo4j

26 lines (25 loc) 1.07 kB
import type { CypherEnvironment } from "../Environment"; import type { Predicate } from "../types"; import { Clause } from "./Clause"; import { WithCreate } from "./mixins/clauses/WithCreate"; import { WithFilter } from "./mixins/clauses/WithFilter"; import { WithLet } from "./mixins/clauses/WithLet"; import { WithMatch } from "./mixins/clauses/WithMatch"; import { WithMerge } from "./mixins/clauses/WithMerge"; import { WithReturn } from "./mixins/clauses/WithReturn"; import { WithUnwind } from "./mixins/clauses/WithUnwind"; import { WithWith } from "./mixins/clauses/WithWith"; export interface Filter extends WithReturn, WithWith, WithMatch, WithMerge, WithCreate, WithUnwind, WithFilter, WithLet { } /** * @see {@link https://neo4j.com/docs/cypher-manual/current/clauses/filter/ | Cypher Documentation} * @group Clauses * @since Neo4j 2025.06 */ export declare class Filter extends Clause { private predicate; constructor(filterInput: Predicate); and(predicate: Predicate): this; /** @internal */ getCypher(env: CypherEnvironment): string; }