Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CountRequestBuilder<EntityT>

Create an OData request to count entities based on the configuration of the request. A CountRequestBuilder allows only for execution of the request. If you want to apply query parameters like filter, skip or top do it on the GetAllRequestBuilder the count is created from.

Type parameters

  • EntityT: EntityBase

    Type of the entity to be requested

Hierarchy

Index

Constructors

constructor

Properties

Readonly getAllRequest

getAllRequest: GetAllRequestBuilderBase<EntityT>

requestConfig

requestConfig: ODataCountRequestConfig<EntityT>

Request configuration to initialize with

Methods

addCustomHeaders

  • addCustomHeaders(headers: Record<string, string>): this

addCustomQueryParameters

  • addCustomQueryParameters(queryParameters: Record<string, string>): this

build

execute

relativeUrl

  • relativeUrl(): string

setCustomServicePath

  • setCustomServicePath(servicePath: string): this

url

withCustomHeaders

  • withCustomHeaders(headers: Record<string, string>): this

withCustomQueryParameters

  • withCustomQueryParameters(queryParameters: Record<string, string>): this

withCustomServicePath

  • withCustomServicePath(servicePath: string): this