Skip to content

module Athena::ORM::Types #

Contains the types that convert values between their Crystal and database representations, and the names they're registered under. See AORM::Types::Type for more information.

Constants#

BIGINT = "bigint"#

Name of the AORM::Types::BigInt type.

BINARY = "binary"#

Name of the AORM::Types::Binary type.

BLOB = "blob"#

Name of the AORM::Types::Blob type.

BOOLEAN = "boolean"#

Name of the AORM::Types::Boolean type.

DATETIME = "datetime"#

Name of the AORM::Types::Datetime type.

DECIMAL = "decimal"#

Name of the AORM::Types::Decimal type.

FLOAT = "float"#

Name of the AORM::Types::Float type.

GUID = "guid"#

Name of the AORM::Types::Guid type.

INTEGER = "integer"#

Name of the AORM::Types::Integer type.

NUMBER = "number"#

Name of the AORM::Types::Number type, which is only registered when the program defines BigDecimal.

SMALLFLOAT = "smallfloat"#

Name of the AORM::Types::SmallFloat type.

SMALLINT = "smallint"#

Name of the AORM::Types::SmallInt type.

STRING = "string"#

Name of the AORM::Types::String type.

TEXT = "text"#

An alternative name for the AORM::Types::String type.