Database result interface

Hierarchy

Implemented by

Methods

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

    Returns

    bytes value

    Parameters

    • columnName: string

      column name

    Returns Buffer

  • Get the number of columns

    Returns

    column count

    Returns number

  • Get the name of the columns

    Returns

    column names

    Returns string[]

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

    Returns

    int value

    Parameters

    • columnName: string

      column name

    Returns number

  • 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

  • Gets the value at the index provided

    Parameters

    • columnIdx: number

    Returns any

  • Move the cursor to the next row.

    Returns

    true if another row

    Returns boolean

  • Was the last value retrieved null

    Returns

    true if was null

    Returns boolean

Generated using TypeDoc