UNPKG

@neo4j/graphql

Version:

A GraphQL to Cypher query execution layer for Neo4j and JavaScript GraphQL implementations

22 lines 879 B
import Cypher from "@neo4j/cypher-builder"; import type { Entity } from "../../../../../schema-model/entity/Entity"; import type { QueryASTNode } from "../../QueryASTNode"; import { AggregationField } from "./AggregationField"; export declare class CountField extends AggregationField { private entity; edgeVar: Cypher.Variable | undefined; private countFields; constructor({ alias, entity, fields, }: { alias: string; entity: Entity; fields: { nodes: boolean; edges: boolean; }; }); getChildren(): QueryASTNode[]; getProjectionField(variable: Cypher.Variable): Record<string, Cypher.Expr>; getAggregationExpr(variable: Cypher.Variable): Cypher.Expr; getAggregationProjection(target: Cypher.Variable, returnVar: Cypher.Variable): Cypher.Clause; } //# sourceMappingURL=CountField.d.ts.map