Options
All
  • Public
  • Public/Protected
  • All
Menu

Class InanoSQLObserverQuery

Hierarchy

  • InanoSQLObserverQuery

Implemented by

Index

Constructors

Properties

Methods

Constructors

constructor

  • Parameters

    • databaseID: string
    • query: InanoSQLQuery
    • debounce: number
    • unique: boolean
    • compareFn: function
        • (rowsA: any[], rowsB: any[]): boolean
        • Parameters

          • rowsA: any[]
          • rowsB: any[]

          Returns boolean

    Returns InanoSQLObserverQuery

Properties

databaseID

databaseID: string

Methods

exec

  • exec(callback: function, events?: undefined | false | true): any
  • Parameters

    • callback: function
        • (rows: any[], error?: any): void
        • Parameters

          • rows: any[]
          • Optional error: any

          Returns void

    • Optional events: undefined | false | true

    Returns any

stream

  • stream(onRow: function, complete: function, error: function, events?: undefined | false | true): any
  • Parameters

    • onRow: function
        • (row: any): void
        • Parameters

          • row: any

          Returns void

    • complete: function
        • (): void
        • Returns void

    • error: function
        • (err: any): void
        • Parameters

          • err: any

          Returns void

    • Optional events: undefined | false | true

    Returns any

trigger

  • trigger(): any

unsubscribe

  • unsubscribe(): any

Generated using TypeDoc