Wrapper for Database Results

Hierarchy

  • ResultSet

Constructors

Properties

connection: DBAdapter

Connection

hasNext: boolean = true

Track if result set has a next

nextValue: any

Value stored after calling next

results: IterableIterator<Record<string, DBValue>>

Iterable results from a query

statement: Statement

Statement

Methods

  • Get boolean value for column name at current position

    Parameters

    • columnName: string

    Returns boolean

  • Get Buffer value for column name at current position

    Parameters

    • columnName: string

    Returns Buffer

  • Get Number value for column name at current position

    Parameters

    • columnName: string

    Returns number

  • Get string value for column name at current position

    Parameters

    • columnName: string

    Returns string

  • Get string value for index at the current position

    Parameters

    • index: number

    Returns string

  • Returns true if this result has a value after calling next

    Returns boolean

Generated using TypeDoc