Class OINODataSetAbstract

Base class for SQL results that can be asynchronously iterated (but not necessarity rewinded). Idea is to handle database specific mechanisms for returning and formatting conventions in the database specific implementation. Data might be in memory or streamed in chunks and OINODataSet will serve it out consistently.

Hierarchy (view full)

Constructors

  • Constructor for OINODataSet.

    Parameters

    • data: unknown

      internal database specific data type (constructor will throw if invalid)

    • messages: string[] = []

      error messages from SQL-query

    Returns OINODataSet

Properties

messages: string[]

Error messages

Methods

  • Checks if the messages contain errors.

    Returns string

  • Checks if the messages contain errors.

    Returns boolean

  • Is data set empty.

    Returns boolean

  • Is there no more content, i.e. either dataset is empty or we have moved beyond last line

    Returns boolean

  • Moves dataset to the next row, returns !isEof().

    Returns boolean