nofeardb.datatypes.String

class nofeardb.datatypes.String

Bases: OrmDataType

ORM String Datatype

classmethod cast(value) str

tries to cast the given value to the expected datatype

classmethod deserialize(value: str) Optional[str]

deserializes a string to the expected datatype

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

serializes the given value to a string based on the datatype