Result represents the result of a query

Constructors

Properties

_error: null | MillenniumDBError
_queryObserver: QueryObserver
_queryPreamble: null | QueryPreamble
_recordsPromise: null | Promise<Record[]>
_summary: any
_variables: null | string[]

Methods

  • Get the records associated with the result

    Returns Promise<Record[]>

    a promise that resolves when the records are received

  • Get the summary associated with the result

    Returns Promise<any>

    a promise that resolves when the summary is received

  • Get the variables associated with the result

    Returns Promise<string[]>

    a promise that resolves when the variables are received