Nextcloud PHP API (master)

ColumnType : string
in package

enum ColumnType based on OCP\DB\Types

Tags
see
Types
since
30.0.0

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

DATE

A column created with `DATE` can be used for both `DATE` and `DATE_IMMUTABLE` on the `\OCP\AppFramework\Db\Entity`.

Tags
since
30.0.0

DATETIME

A column created with `DATETIME` can be used for both `DATETIME` and `DATETIME_IMMUTABLE` on the `\OCP\AppFramework\Db\Entity`.

Tags
since
30.0.0

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`.

Tags
since
31.0.0

        
On this page

Search results