ColumnType
: string
in package
enum ColumnType based on OCP\DB\Types
Tags
Table of Contents
Cases
- BIGINT = 'bigint'
- BINARY = 'binary'
- BLOB = 'blob'
- BOOLEAN = 'boolean'
- DATE = 'date'
- A column created with `DATE` can be used for both `DATE` and `DATE_IMMUTABLE` on the `\OCP\AppFramework\Db\Entity`.
- DATETIME = 'datetime'
- A column created with `DATETIME` can be used for both `DATETIME` and `DATETIME_IMMUTABLE` on the `\OCP\AppFramework\Db\Entity`.
- DATETIME_TZ = 'datetimetz'
- A column created with `DATETIME_TZ` can be used for both `DATETIME_TZ` and `DATETIME_TZ_IMMUTABLE` on the `\OCP\AppFramework\Db\Entity`.
- DECIMAL = 'decimal'
- FLOAT = 'float'
- INTEGER = 'integer'
- JSON = 'json'
- SMALLINT = 'smallint'
- STRING = 'string'
- TEXT = 'text'
- TIME = 'time'
Cases
BIGINT
Tags
BINARY
Tags
BLOB
Tags
BOOLEAN
Tags
DATE
A column created with `DATE` can be used for both `DATE` and `DATE_IMMUTABLE` on the `\OCP\AppFramework\Db\Entity`.
Tags
DATETIME
A column created with `DATETIME` can be used for both `DATETIME` and `DATETIME_IMMUTABLE` on the `\OCP\AppFramework\Db\Entity`.
Tags
DATETIME_TZ
A column created with `DATETIME_TZ` can be used for both `DATETIME_TZ` and `DATETIME_TZ_IMMUTABLE` on the `\OCP\AppFramework\Db\Entity`.