Interface MobileServiceTable

Hierarchy

Index

Construct signatures

Methods

Construct signatures

constructor(tableName: string, client: MobileServiceClient): MobileServiceTable

Parameters

Returns

MobileServiceTable

Methods

public del(instance: any, paramsQS: Object, callback: (error?: any) => void)

Parameters

  • instance: any
  • paramsQS: Object
  • callback: (error?: any) => void

public del(instance: any, paramsQS: Object): asyncPromise

Parameters

  • instance: any
  • paramsQS: Object

Returns

asyncPromise

public del(instance: any): asyncPromise

Parameters

  • instance: any

Returns

asyncPromise

public getMobileServiceClient(): MobileServiceClient

Returns

MobileServiceClient

public getTableName(): string

Returns

string

public includeTotalCount(): IQuery

Returns

IQuery

public insert(instance: any, paramsQS: Object, callback: (error: any, retInserted: any) => any)

Parameters

  • instance: any
  • paramsQS: Object
  • callback: (error: any, retInserted: any) => any

public insert(instance: any, paramsQS: Object): asyncPromise

Parameters

  • instance: any
  • paramsQS: Object

Returns

asyncPromise

public insert(instance: any): asyncPromise

Parameters

  • instance: any

Returns

asyncPromise

public lookup(id: number, paramsQS: Object, callback: (error: any, retValue: any) => any)

Parameters

  • id: number
  • paramsQS: Object
  • callback: (error: any, retValue: any) => any

public lookup(id: number, paramsQS: Object): asyncPromise

Parameters

  • id: number
  • paramsQS: Object

Returns

asyncPromise

public lookup(id: number): asyncPromise

Parameters

  • id: number

Returns

asyncPromise

public orderBy(propName?: Array<string>): IQuery

Parameters

  • propName?: Array<string> optional

Returns

IQuery

public orderByDescending(propName?: Array<string>): IQuery

Parameters

  • propName?: Array<string> optional

Returns

IQuery

public read(query: IQuery, paramsQS: Object, callback: (error: any, retValues: any) => any)

Parameters

  • query: IQuery
  • paramsQS: Object
  • callback: (error: any, retValues: any) => any

public read(query: IQuery, paramsQS: Object): asyncPromise

Parameters

  • query: IQuery
  • paramsQS: Object

Returns

asyncPromise

public read(query: IQuery): asyncPromise

Parameters

Returns

asyncPromise

public read(): asyncPromise

Returns

asyncPromise

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

Parameters

  • propNameSelected?: Array<string> optional

Returns

IQuery

public select(funcProjectionFromThis: () => any): IQuery

Parameters

  • funcProjectionFromThis: () => any

Returns

IQuery

public skip(n: number): IQuery

Parameters

  • n: number

Returns

IQuery

public take(n: number): IQuery

Parameters

  • n: number

Returns

IQuery

public update(instance: any, paramsQS: Object, callback: (error: any, retUpdated: any) => any)

Parameters

  • instance: any
  • paramsQS: Object
  • callback: (error: any, retUpdated: any) => any

public update(instance: any, paramsQS: Object): asyncPromise

Parameters

  • instance: any
  • paramsQS: Object

Returns

asyncPromise

public update(instance: any): asyncPromise

Parameters

  • instance: any

Returns

asyncPromise

public where(mapObjFilterCriteria: any): IQuery

Parameters

  • mapObjFilterCriteria: any

Returns

IQuery

public where(funcPredicateOnThis: (...qParams: any[]) => boolean, qValues?: Array<any>): IQuery

Parameters

  • funcPredicateOnThis: (...qParams: any[]) => boolean
  • qValues?: Array<any> optional

Returns

IQuery