Types¶
-
class
OCP\DB\
Types
¶ - Database types supported by Nextcloud’s DBsUse these constants instead of \Doctrine\DBAL\Types\Type or \Doctrine\DBAL\Types\Types
Source: lib/public/DB/Types.php#35
Constants¶
-
BIGINT = bigint
Source: lib/public/DB/Types.php#40 Type: string Since: 21.0.0
-
BINARY = binary
Source: lib/public/DB/Types.php#46 Type: string Since: 21.0.0
-
BLOB = blob
Source: lib/public/DB/Types.php#52 Type: string Since: 21.0.0
-
BOOLEAN = boolean
Source: lib/public/DB/Types.php#58 Type: string Since: 21.0.0
-
DATE = date
Source: lib/public/DB/Types.php#64 Type: string Since: 21.0.0
-
DATETIME = datetime
Source: lib/public/DB/Types.php#70 Type: string Since: 21.0.0
-
DECIMAL = decimal
Source: lib/public/DB/Types.php#76 Type: string Since: 21.0.0
-
FLOAT = float
Source: lib/public/DB/Types.php#82 Type: string Since: 21.0.0
-
INTEGER = integer
Source: lib/public/DB/Types.php#88 Type: string Since: 21.0.0
-
SMALLINT = smallint
Source: lib/public/DB/Types.php#94 Type: string Since: 21.0.0
-
STRING = string
Source: lib/public/DB/Types.php#100 Type: string Since: 21.0.0
-
TEXT = text
Source: lib/public/DB/Types.php#106 Type: string Since: 21.0.0
-
TIME = time
Source: lib/public/DB/Types.php#112 Type: string Since: 21.0.0