UNPKG

@neo4j/graphql

Version:

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

19 lines 880 B
import type Cypher from "@neo4j/cypher-builder"; import type { SortField } from "./Sort"; import { Sort } from "./Sort"; import type { AttributeAdapter } from "../../../../schema-model/attribute/model-adapters/AttributeAdapter"; import type { QueryASTNode } from "../QueryASTNode"; import type { QueryASTContext } from "../QueryASTContext"; export declare class PropertySort extends Sort { private attribute; private direction; constructor({ attribute, direction }: { attribute: AttributeAdapter; direction: Cypher.Order; }); getChildren(): QueryASTNode[]; print(): string; getSortFields(context: QueryASTContext, variable: Cypher.Variable | Cypher.Property, sortByDatabaseName?: boolean): SortField[]; getProjectionField(_context: QueryASTContext): string | Record<string, Cypher.Expr>; } //# sourceMappingURL=PropertySort.d.ts.map