OINO TS
    Preparing search index...

    Class OINODbDataModel

    OINO Datamodel object for representing one database table and it's columns.

    Hierarchy

    • unknown
      • OINODbDataModel
    Index

    Constructors

    Properties

    dbApi: OINODbApi

    Database refererence of the table

    fields: OINODataField[]

    Field refererences of the API

    Methods

    • Print SQL delete statement for id.

      Parameters

      • id: string

        OINO ID (i.e. combined primary key values)

      Returns string

    • Print SQL insert statement from one data row.

      Parameters

      • row: OINODataRow

        one row of data in the data model

      Returns string

    • Print SQL select statement using optional id and filter.

      Parameters

      • id: string

        OINO ID (i.e. combined primary key values)

      • params: OINOQueryParams

        OINO reqest params

      Returns string

    • Print SQL insert statement from one data row.

      Parameters

      • id: string

        OINO ID (i.e. combined primary key values)

      • row: OINODataRow

        one row of data in the data model

      Returns string