Interface UserResult<TColumn, TTable, TRow>

Abstract User Cursor

Type Parameters

  • TColumn extends UserColumn

    column type

  • TTable extends UserTable<TColumn>

    table type

  • TRow extends UserRow<TColumn, TTable>

    row type

Hierarchy

  • Result
  • IterableIterator<TRow>
    • UserResult

Implemented by

Methods

  • Returns IterableIterator<TRow>

  • Returns the value of the requested column as a byte array.

    Returns

    bytes value

    Parameters

    • columnName: string

      column name

    Returns Buffer

  • Returns the value of the requested column as an int.

    Returns

    int value

    Parameters

    • columnName: string

      column name

    Returns number

  • Get a row using the column types and values

    Returns

    row

    Parameters

    • columnTypes: number[]

      column types

    • values: any[]

      values

    Returns TRow

  • Get the SQL selection arguments (if available)

    Returns

    selection arguments

    Returns any[]

  • Get the SQL statement (if available)

    Returns

    SQL statement

    Returns string

  • Returns the value of the requested column as a String.

    Returns

    string value

    Parameters

    • columnName: string

      column name

    Returns string

  • Get the value for the column

    Returns

    value

    Parameters

    • columnName: string

    Returns any

  • Get the value for the column

    Returns

    value

    Parameters

    • column: TColumn

      column

    Returns any

  • Get the value for the column name

    Returns

    value

    Parameters

    • columnName: string

      column name

    Returns any

  • Get the value for the column index

    Returns

    value

    Parameters

    • index: number

      column index

    Returns any

  • Iterable for iterating over result ids in place of rows

    Returns

    iterable ids

    Returns IterableIterator<number>

  • Parameters

    • Rest ...args: [] | [undefined]

    Returns IteratorResult<TRow, any>

  • Parameters

    • Optional value: any

    Returns IteratorResult<TRow, any>

  • Parameters

    • Optional e: any

    Returns IteratorResult<TRow, any>

Generated using TypeDoc