nofeardb.datatypes.UUID

class nofeardb.datatypes.UUID

Bases: OrmDataType

ORM UUID Datatype

classmethod cast(value) Optional[UUID]

tries to cast the given value to the expected datatype

classmethod deserialize(value: str) Optional[UUID]

deserializes a string to the expected datatype

classmethod serialize(value: Optional[UUID]) Optional[str]

serializes the given value to a string based on the datatype