UNPKG

@neo4j/graphql

Version:

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

24 lines 1.16 kB
import Cypher from "@neo4j/cypher-builder"; import type { AttributeAdapter } from "../../../../schema-model/attribute/model-adapters/AttributeAdapter"; import type { QueryASTContext } from "../QueryASTContext"; import type { QueryASTNode } from "../QueryASTNode"; import type { CypherAttributeOperation } from "../operations/CypherAttributeOperation"; import type { SortField } from "./Sort"; import { Sort } from "./Sort"; export declare class CypherPropertySort extends Sort { private attribute; private direction; private cypherOperation; constructor({ attribute, direction, cypherOperation, }: { attribute: AttributeAdapter; direction: Cypher.Order; cypherOperation: CypherAttributeOperation; }); getChildren(): QueryASTNode[]; print(): string; getFieldName(): string; getSortFields(context: QueryASTContext, _variable: Cypher.Variable | Cypher.Property, _sortByDatabaseName?: boolean): SortField[]; getProjectionField(context: QueryASTContext): string | Record<string, Cypher.Expr>; getSubqueries(context: QueryASTContext): Cypher.Clause[]; } //# sourceMappingURL=CypherPropertySort.d.ts.map