nofeardb.datatypes.DateTime
- class nofeardb.datatypes.DateTime
Bases:
OrmDataTypeORM Datetime Datatype
- classmethod cast(value) Optional[datetime]
tries to cast the given value to the expected datatype
- classmethod deserialize(value: str) Optional[datetime]
deserializes a string to the expected datatype
- classmethod serialize(value: Optional[datetime]) Optional[str]
serializes the given value to a string based on the datatype