Interface IQuery

Hierarchy

Index

Methods

Methods

public aggregate(step: number): JQueryDeferred

Parameters

  • step: number

Returns

JQueryDeferred

public aggregate(seed: number, step: (accumulator: any, current: any) => any, finalize?: (accumulator: any) => any): JQueryDeferred

Parameters

  • seed: number
  • step: (accumulator: any, current: any) => any
  • finalize?: (accumulator: any) => any optional

Returns

JQueryDeferred

public avg(getter?: string): JQueryDeferred

Parameters

  • getter?: string optional

Returns

JQueryDeferred

public count(): JQueryDeferred

Returns

JQueryDeferred

public enumerate(): JQueryDeferred

Returns

JQueryDeferred

public filter(field: string, operator: string, value: any): IQuery

Parameters

  • field: string
  • operator: string
  • value: any

Returns

IQuery

public filter(field: string, value: any): IQuery

Parameters

  • field: string
  • value: any

Returns

IQuery

public filter(criteria: Array<any>): IQuery

Parameters

  • criteria: Array<any>

Returns

IQuery

public groupBy(field: Array<string>): IQuery

Parameters

  • field: Array<string>

Returns

IQuery

public groupBy(field: Getter[]): IQuery

Parameters

Returns

IQuery

public groupBy(field: Array<{ field: string; desc?: boolean; }>): IQuery

Parameters

  • field: Array<{ field: string; desc?: boolean; }>

Returns

IQuery

public groupBy(field: Array<{ field: DevExpress.data.Getter; desc?: boolean; }>): IQuery

Parameters

  • field: Array<{ field: DevExpress.data.Getter; desc?: boolean; }>

Returns

IQuery

public max(getter?: string): JQueryDeferred

Parameters

  • getter?: string optional

Returns

JQueryDeferred

public min(getter?: string): JQueryDeferred

Parameters

  • getter?: string optional

Returns

JQueryDeferred

public select(field: string): IQuery

Parameters

  • field: string

Returns

IQuery

public select(field: Array<string>): IQuery

Parameters

  • field: Array<string>

Returns

IQuery

public select(field?: Array<string>): IQuery

Parameters

  • field?: Array<string> optional

Returns

IQuery

public select(field: Getter): IQuery

Parameters

Returns

IQuery

public select(field: Getter[]): IQuery

Parameters

Returns

IQuery

public select(field?: Getter[]): IQuery

Parameters

Returns

IQuery

public slice(skip: number, take?: number): IQuery

Parameters

  • skip: number
  • take?: number optional

Returns

IQuery

public sortBy(field: Array<string>): IQuery

Parameters

  • field: Array<string>

Returns

IQuery

public sortBy(field: Getter[]): IQuery

Parameters

Returns

IQuery

public sortBy(field: Array<{ field: string; desc?: boolean; }>): IQuery

Parameters

  • field: Array<{ field: string; desc?: boolean; }>

Returns

IQuery

public sortBy(field: Array<{ field: DevExpress.data.Getter; desc?: boolean; }>): IQuery

Parameters

  • field: Array<{ field: DevExpress.data.Getter; desc?: boolean; }>

Returns

IQuery

public sum(getter?: string): JQueryDeferred

Parameters

  • getter?: string optional

Returns

JQueryDeferred

public thenBy(field: Array<string>): IQuery

Parameters

  • field: Array<string>

Returns

IQuery

public thenBy(field: Getter[]): IQuery

Parameters

Returns

IQuery

public thenBy(field: Array<{ field: string; desc?: boolean; }>): IQuery

Parameters

  • field: Array<{ field: string; desc?: boolean; }>

Returns

IQuery

public thenBy(field: Array<{ field: DevExpress.data.Getter; desc?: boolean; }>): IQuery

Parameters

  • field: Array<{ field: DevExpress.data.Getter; desc?: boolean; }>

Returns

IQuery