UNPKG

furystack-core

Version:
27 lines (26 loc) 856 B
import { ODataFilterExpression } from "../filter/ODataFilterExpression"; import { ODataOperation } from "./ODataOperation"; export declare class ODataQuery<EntityType, FieldType> extends ODataOperation<FieldType> { /** * Sets the '$filter=' variable in the OData Query URL. */ filter: string; /** * Builds a query expression for the OData Query * @param build The builder expression * @returns The ODataQuery instance (Fluent) */ BuildFilter(build: (b: ODataFilterExpression<EntityType>) => void): ODataQuery<EntityType, FieldType>; /** * Sets the OData $top= query attribute */ top?: number; /** * Sets the OData $skip= query attribute */ skip?: number; /** * Sets the OData $orderby= query attribute */ orderBy?: FieldType[]; }