Type: Python module or package
File:lino:src/lino/adamo/datatypes.py
The capitalized names (STRING, DATE, ...) hold default instances which should cover many cases. You can create new variants of these standard types by just calling them with the parameters to override.
- Type (Class) : , ,
- TimeStampType (Class)
- BoolType (Class)
- AutoIncType (Class)
- AsciiType (Class)
- StringType (Class)
Refering articles:
- about datatypes (code changes 20.01.05) — A datatypes.Type is now a Describable. Replaced Type.child() by Type.__call__(): Instead of writing STRING.child(width=8) you write now STRING(width=8). I should maybe rename datatypes to "fieldtypes".