OEMakeFieldΒΆ

OEMakeField(name: str, t: OEFieldTypeHandler, meta: OEFieldMeta=None, readonly: bool=false, nullable: bool=false) -> OEField

Creates an OEField object to be used for adding data to, or retrieving data from, an OERecord object.

name
The name the field will be given.
t
This specifies the type of field to be created. This will usually come from the Types namespace.
meta
Optional metadata to be applied to the field.
readonly
If true, the field can only be used to read data to a record, not write it.
nullable
If true, the field will allow setting of null values on a record.