Database Result utilities

Hierarchy

  • ResultUtils

Constructors

Methods

  • Build single column result rows from the result and the optional limit

    Returns

    single column results

    Parameters

    • result: ResultSetResult

      result

    • columnName: string

      column name

    • Optional limit: number

      result row limit

    Returns any[]

  • Build single column result rows from the result and the optional limit

    Returns

    single column results

    Parameters

    • result: ResultSetResult

      result

    • columnIndex: number = 0

      column name

    • Optional limit: number

      result row limit

    Returns any[]

  • Get the value from the cursor from the provided column

    Returns

    value value

    Parameters

    • result: Result

      result

    • columnName: string

      columnName

    Returns any

Generated using TypeDoc