Interface IFirebaseQuery

Index

Methods

Methods

public endAt(priority?: string, name?: string): IFirebaseQuery

Parameters

  • priority?: string optional
  • name?: string optional

Returns

IFirebaseQuery

public endAt(priority?: number, name?: string): IFirebaseQuery

Parameters

  • priority?: number optional
  • name?: string optional

Returns

IFirebaseQuery

public limit(limit: number): IFirebaseQuery

Parameters

  • limit: number

Returns

IFirebaseQuery

public off(eventType?: string, callback?: (dataSnapshot: IFirebaseDataSnapshot, prevChildName?: string) => void, context?: Object)

Parameters

  • eventType?: string optional
  • callback?: (dataSnapshot: IFirebaseDataSnapshot, prevChildName?: string) => void optional
  • context?: Object optional

public on(eventType: string, callback: (dataSnapshot: IFirebaseDataSnapshot, prevChildName?: string) => void, cancelCallback?: () => void, context?: Object): (dataSnapshot: IFirebaseDataSnapshot, prevChildName?: string) => void

Parameters

  • eventType: string
  • callback: (dataSnapshot: IFirebaseDataSnapshot, prevChildName?: string) => void
  • cancelCallback?: () => void optional
  • context?: Object optional

Returns

(dataSnapshot: IFirebaseDataSnapshot, prevChildName?: string) => void

public once(eventType: string, successCallback: (dataSnapshot: IFirebaseDataSnapshot) => void, failureCallback?: () => void, context?: Object)

Parameters

  • eventType: string
  • successCallback: (dataSnapshot: IFirebaseDataSnapshot) => void
  • failureCallback?: () => void optional
  • context?: Object optional

public ref(): Firebase

Returns

Firebase

public startAt(priority?: string, name?: string): IFirebaseQuery

Parameters

  • priority?: string optional
  • name?: string optional

Returns

IFirebaseQuery

public startAt(priority?: number, name?: string): IFirebaseQuery

Parameters

  • priority?: number optional
  • name?: string optional

Returns

IFirebaseQuery