Constructor of the data model. NOTE! OINODbDataModel.initialize must be called after constructor to populate fields.
api of the data model
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
Find index of a field of a given name if any.
name of the field to find
Return the primary key values of one row in order of the data model
data row
apply hashid when applicable
Pring debug information for the field
length of the debug output (or 0 for as long as needed)
Print debug information about the fields.
string to separate field prints
Print all public properties (db, table name, fields) of the datamodel. Used in automated testing validate schema has stayed the same.
OINO Datamodel object for representing one database table and it's columns.