Constructor of the data model. NOTE! OINODataModel.initialize must be called after constructor to populate fields.
api of the data model
Readonly
apiDatabase refererence of the table
Readonly
fieldsField refererences of the API
Add a field to the datamodel.
dataset field
Find all fields based of given filter callback criteria (e.g. fields of certain data type, primary keys etc.)
callback called for each field to include or not
Find a field of a given name if any.
name of the field to find
Print OINO ID of a data row.
A row of data.
Print SQL insert statement from one data row.
one row of data in the data model
Print SQL select statement using optional id and filter.
OINO ID (i.e. combined primary key values)
OINO reqest params
Print SQL insert statement from one data row.
OINO ID (i.e. combined primary key values)
one row of data in the data model
OINO Datamodel object for representing one database table and it's columns.