Class OINODbModelSet

Class for dataset based on a data model that can be serialized to a supported format:

  • JSON (application/json)
  • CSV (text/csv)

Constructors

Properties

datamodel: OINODbDataModel

Reference to datamodel

dataset: OINODbDataSet

Reference to data set

errors: string[]

Collection of errors

Methods

  • Get value of given field in the current row. Undefined if no rows, field not found or value does not exist.

    Parameters

    • fieldName: string

      name of the field

    Returns OINODataCell

  • Serialize model set in the given format.

    Parameters

    • OptionalcontentType: OINOContentType = OINOContentType.json

      serialization content type

    Returns string