@neo4j/graphql
Version:
A GraphQL to Cypher query execution layer for Neo4j and JavaScript GraphQL implementations
20 lines • 877 B
TypeScript
import Cypher from "@neo4j/cypher-builder";
import type { ConcreteEntityAdapter } from "../../../../schema-model/entity/model-adapters/ConcreteEntityAdapter";
import { QueryASTContext } from "../QueryASTContext";
import type { FulltextOptions } from "../operations/FulltextOperation";
import { EntitySelection, type SelectionClause } from "./EntitySelection";
export declare class FulltextSelection extends EntitySelection {
private target;
private fulltextOptions;
private scoreVariable;
constructor({ target, fulltextOptions, scoreVariable, }: {
target: ConcreteEntityAdapter;
fulltextOptions: FulltextOptions;
scoreVariable: Cypher.Variable;
});
apply(context: QueryASTContext): {
nestedContext: QueryASTContext<Cypher.Node>;
selection: SelectionClause;
};
}
//# sourceMappingURL=FulltextSelection.d.ts.map