Files
deb-python-sqlalchemy-utils/docs/data_types.rst
Konsta Vesterinen 0153bcc536 Add CompositeType
2015-05-27 13:00:43 +03:00

2.2 KiB

Data types

SQLAlchemy-Utils provides various new data types for SQLAlchemy. In order to gain full advantage of these datatypes you should use automatic data coercion. See force_auto_coercion for how to set up this feature.

sqlalchemy_utils.types

ArrowType

sqlalchemy_utils.types.arrow

ArrowType

ChoiceType

sqlalchemy_utils.types.choice

ChoiceType

ColorType

sqlalchemy_utils.types.color

ColorType

CompositeType

sqlalchemy_utils.types.pg_composite

CompositeType

CountryType

sqlalchemy_utils.types.country

CountryType

sqlalchemy_utils.primitives.country

Country

CurrencyType

sqlalchemy_utils.types.currency

CurrencyType

sqlalchemy_utils.primitives.currency

Currency

EncryptedType

sqlalchemy_utils.types.encrypted

EncryptedType

JSONType

sqlalchemy_utils.types.json

JSONType

LocaleType

sqlalchemy_utils.types.locale

LocaleType

IPAddressType

sqlalchemy_utils.types.ip_address

IPAddressType

PasswordType

sqlalchemy_utils.types.password

PasswordType

PhoneNumberType

sqlalchemy_utils.types.phone_number

PhoneNumberType

ScalarListType

sqlalchemy_utils.types.scalar_list

ScalarListType

TimezoneType

sqlalchemy_utils.types.timezone

TimezoneType

TSVectorType

sqlalchemy_utils.types.ts_vector

TSVectorType

URLType

sqlalchemy_utils.types.url

URLType

UUIDType

sqlalchemy_utils.types.uuid

UUIDType

WeekDaysType

sqlalchemy_utils.types.weekdays

WeekDaysType