@odata2ts/odata-query-objects
Version:
Q-Objects are the magic sauce for the odata-query-builder and allow for renaming and type conversion
16 lines (15 loc) • 705 B
TypeScript
import { QFilterExpression } from "../QFilterExpression";
import { QueryObject } from "../QueryObject";
import { LambdaOperatorType } from "./base/LambdaOperatorType";
import { QEntityPathModel } from "./QPathModel";
export declare class QEntityCollectionPath<Q extends QueryObject> implements QEntityPathModel<Q> {
private path;
private qEntityFn;
constructor(path: string, qEntityFn: () => new (prefix?: string) => Q);
getPath(): string;
getEntity(withPrefix?: boolean): Q;
isCollectionType(): boolean;
private lambdaFunction;
any(fn?: LambdaOperatorType<Q>, prefix?: string): QFilterExpression;
all(fn?: LambdaOperatorType<Q>, prefix?: string): QFilterExpression;
}