From b7ae06455feb7216cf5e38605f2844b323630ac5 Mon Sep 17 00:00:00 2001 From: Jaapio Date: Fri, 10 Jan 2025 17:25:45 +0100 Subject: [PATCH] Fix binary type format documentation The table contained an error which broke the parsing of the table. Row content cannot be at the same line as the row span definition. --- docs/en/reference/types.rst | 433 ++++++++++++++++++------------------ 1 file changed, 216 insertions(+), 217 deletions(-) diff --git a/docs/en/reference/types.rst b/docs/en/reference/types.rst index 273a191156..31866f94a8 100644 --- a/docs/en/reference/types.rst +++ b/docs/en/reference/types.rst @@ -471,224 +471,223 @@ The following table shows an overview of Doctrine's type abstraction. The matrix contains the mapping information for how a specific Doctrine type is mapped to the database and back to PHP. Please also notice the mapping specific footnotes for additional information. -:: - +-------------------+---------------+-----------------------------------------------------------------------------------------------+ - | Doctrine | PHP | Database vendor | - | | +--------------------------+---------+----------------------------------------------------------+ - | | | Name | Version | Type | - +===================+===============+==========================+=========+==========================================================+ - | **smallint** | ``integer`` | **MySQL** | *all* | ``SMALLINT`` ``UNSIGNED`` [10] ``AUTO_INCREMENT`` [11] | - | | +--------------------------+---------+----------------------------------------------------------+ - | | | **PostgreSQL** | *all* | ``SMALLINT`` | - | | +--------------------------+---------+----------------------------------------------------------+ - | | | **Oracle** | *all* | ``NUMBER(5)`` | - | | +--------------------------+---------+----------------------------------------------------------+ - | | | **SQL Server** | *all* | ``SMALLINT`` ``IDENTITY`` [11] | - | | +--------------------------+---------+----------------------------------------------------------+ - | | | **SQLite** | *all* | ``INTEGER`` [15] | - +-------------------+---------------+--------------------------+---------+----------------------------------------------------------+ - | **integer** | ``integer`` | **MySQL** | *all* | ``INT`` ``UNSIGNED`` [10] ``AUTO_INCREMENT`` [11] | - | | +--------------------------+---------+----------------------------------------------------------+ - | | | **PostgreSQL** | *all* | ``INT`` [12] | - | | | | +----------------------------------------------------------+ - | | | | | ``SERIAL`` [11] | - | | +--------------------------+---------+----------------------------------------------------------+ - | | | **Oracle** | *all* | ``NUMBER(10)`` | - | | +--------------------------+---------+----------------------------------------------------------+ - | | | **SQL Server** | *all* | ``INT`` ``IDENTITY`` [11] | - | | +--------------------------+---------+----------------------------------------------------------+ - | | | **SQLite** | *all* | ``INTEGER`` [15] | - +-------------------+---------------+--------------------------+---------+----------------------------------------------------------+ - | **bigint** | ``string`` | **MySQL** | *all* | ``BIGINT`` ``UNSIGNED`` [10] ``AUTO_INCREMENT`` [11] | - | | [8] +--------------------------+---------+----------------------------------------------------------+ - | | | **PostgreSQL** | *all* | ``BIGINT`` [12] | - | | | | +----------------------------------------------------------+ - | | | | | ``BIGSERIAL`` [11] | - | | +--------------------------+---------+----------------------------------------------------------+ - | | | **Oracle** | *all* | ``NUMBER(20)`` | - | | +--------------------------+---------+----------------------------------------------------------+ - | | | **SQL Server** | *all* | ``BIGINT`` ``IDENTITY`` [11] | - | | +--------------------------+---------+----------------------------------------------------------+ - | | | **SQLite** | *all* | ``INTEGER`` [15] | - +-------------------+---------------+--------------------------+---------+----------------------------------------------------------+ - | **decimal** [7] | ``string`` | **MySQL** | *all* | ``NUMERIC(p, s)`` ``UNSIGNED`` [10] | - | | [9] +--------------------------+---------+----------------------------------------------------------+ - | | | **PostgreSQL** | *all* | ``NUMERIC(p, s)`` | - | | +--------------------------+ | | - | | | **Oracle** | | | - | | +--------------------------+ | | - | | | **SQL Server** | | | - | | +--------------------------+ | | - | | | **SQLite** | | | - +-------------------+---------------+--------------------------+---------+----------------------------------------------------------+ - | **smallfloat** | ``float`` | **MySQL** | *all* | ``FLOAT`` ``UNSIGNED`` [10] | - | | +--------------------------+---------+----------------------------------------------------------+ - | | | **PostgreSQL** | *all* | ``REAL`` | - | | +--------------------------+ | | - | | | **Oracle** | | | - | | +--------------------------+ | | - | | | **SQL Server** | | | - | | +--------------------------+ | | - | | | **SQLite** | | | - +-------------------+---------------+--------------------------+---------+----------------------------------------------------------+ - | **float** | ``float`` | **MySQL** | *all* | ``DOUBLE PRECISION`` ``UNSIGNED`` [10] | - | | +--------------------------+---------+----------------------------------------------------------+ - | | | **PostgreSQL** | *all* | ``DOUBLE PRECISION`` | - | | +--------------------------+ | | - | | | **Oracle** | | | - | | +--------------------------+ | | - | | | **SQL Server** | | | - | | +--------------------------+ | | - | | | **SQLite** | | | - +-------------------+---------------+--------------------------+---------+----------------------------------------------------------+ - | **string** | ``string`` | **MySQL** | *all* | ``VARCHAR(n)`` [3] | - | [2] [5] | +--------------------------+ | | - | | | **PostgreSQL** | | | - | | +--------------------------+ +----------------------------------------------------------+ - | | | **SQLite** | | | - | | +--------------------------+---------+----------------------------------------------------------+ - | | | **Oracle** | *all* | ``VARCHAR2(n)`` [3] | - | | | | +----------------------------------------------------------+ - | | | | | ``CHAR(n)`` [4] | - | | +--------------------------+---------+----------------------------------------------------------+ - | | | **SQL Server** | *all* | ``NVARCHAR(n)`` [3] | - | | | | +----------------------------------------------------------+ - | | | | | ``NCHAR(n)`` [4] | - +-------------------+---------------+--------------------------+---------+----------------------------------------------------------+ - | **ascii_string** | ``string`` | **SQL Server** | | ``VARCHAR(n)`` | - | | | | | ``CHAR(n)`` | - +-------------------+---------------+--------------------------+---------+----------------------------------------------------------+ - | **text** | ``string`` | **MySQL** | *all* | ``TINYTEXT`` [16] | - | | | | +----------------------------------------------------------+ - | | | | | ``TEXT`` [17] | - | | | | +----------------------------------------------------------+ - | | | | | ``MEDIUMTEXT`` [18] | - | | | | +----------------------------------------------------------+ - | | | | | ``LONGTEXT`` [19] | - | | +--------------------------+---------+----------------------------------------------------------+ - | | | **PostgreSQL** | *all* | ``TEXT`` | - | | +--------------------------+ | | - | | | **Oracle** | *all* | ``CLOB`` | - | | +--------------------------+ | | - | | | **SQLite** | | | - | | +--------------------------+---------+----------------------------------------------------------+ - | | | **SQL Server** | *all* | ``VARCHAR(MAX)`` | - +-------------------+---------------+--------------------------+---------+----------------------------------------------------------+ - | **guid** | ``string`` | **MySQL** | *all* | ``CHAR(36)`` [1] | - | | +--------------------------+ | | - | | | **Oracle** | | | - | | +--------------------------+ | | - | | | **SQLite** | | | - | | +--------------------------+---------+----------------------------------------------------------+ - | | | **SQL Server** | *all* | ``UNIQUEIDENTIFIER`` | - | | +--------------------------+ | | - | | | **PostgreSQL** | *all* | ``UUID`` | - +-------------------+---------------+--------------------------+---------+----------------------------------------------------------+ - | **binary** | ``resource`` | **MySQL** | *all* | ``VARBINARY(n)`` [3] | - | [2] [6] | +--------------------------+ | | - | | | **SQL Server** | +----------------------------------------------------------+ - | | +--------------------------+ | ``BINARY(n)`` [4] | - | | | **Oracle** | *all* | ``RAW(n)`` | - | | +--------------------------+---------+----------------------------------------------------------+ - | | | **PostgreSQL** | *all* | ``BYTEA`` [15] | - | | +--------------------------+---------+----------------------------------------------------------+ - | | | **SQLite** | *all* | ``BLOB`` [15] | - +-------------------+---------------+--------------------------+---------+----------------------------------------------------------+ - | **blob** | ``resource`` | **MySQL** | *all* | ``TINYBLOB`` [16] | - | | | | +----------------------------------------------------------+ - | | | | | ``BLOB`` [17] | - | | | | +----------------------------------------------------------+ - | | | | | ``MEDIUMBLOB`` [18] | - | | | | +----------------------------------------------------------+ - | | | | | ``LONGBLOB`` [19] | - | | +--------------------------+---------+----------------------------------------------------------+ - | | | **Oracle** | *all* | ``BLOB`` | - | | +--------------------------+ | | - | | | **SQLite** | | | - | | +--------------------------+---------+----------------------------------------------------------+ - | | | **SQL Server** | *all* | ``VARBINARY(MAX)`` | - | | +--------------------------+---------+----------------------------------------------------------+ - | | | **PostgreSQL** | *all* | ``BYTEA`` | - +-------------------+---------------+--------------------------+---------+----------------------------------------------------------+ - | **boolean** | ``boolean`` | **MySQL** | *all* | ``TINYINT(1)`` | - | | +--------------------------+---------+----------------------------------------------------------+ - | | | **PostgreSQL** | *all* | ``BOOLEAN`` | - | | +--------------------------+ | | - | | | **SQLite** | | | - | | +--------------------------+---------+----------------------------------------------------------+ - | | | **SQL Server** | *all* | ``BIT`` | - | | +--------------------------+ | | - | | | **Oracle** | *all* | ``NUMBER(1)`` | - +-------------------+---------------+--------------------------+---------+----------------------------------------------------------+ - | **date** | ``\DateTime`` | **MySQL** | *all* | ``DATE`` | - | | +--------------------------+ | | - | | | **PostgreSQL** | | | - | | +--------------------------+ | | - | | | **Oracle** | | | - | | +--------------------------+ | | - | | | **SQLite** | | | - | | +--------------------------+---------+ | - | | | **SQL Server** | "all" | | - +-------------------+---------------+--------------------------+---------+----------------------------------------------------------+ - | **datetime** | ``\DateTime`` | **MySQL** | *all* | ``DATETIME`` [13] | - | | +--------------------------+---------+----------------------------------------------------------+ - | | | **SQL Server** | *all* | ``DATETIME`` | - | | +--------------------------+ | | - | | | **SQLite** | | | - | | +--------------------------+---------+----------------------------------------------------------+ - | | | **PostgreSQL** | *all* | ``TIMESTAMP(0) WITHOUT TIME ZONE`` | - | | +--------------------------+---------+----------------------------------------------------------+ - | | | **Oracle** | *all* | ``TIMESTAMP(0)`` | - +-------------------+---------------+--------------------------+---------+----------------------------------------------------------+ - | **datetimetz** | ``\DateTime`` | **MySQL** | *all* | ``DATETIME`` [14] [15] | - | | +--------------------------+ | | - | | | **SQLite** | | | - | | +--------------------------+---------+ | - | | | **SQL Server** | "all" | | - | | +--------------------------+---------+----------------------------------------------------------+ - | | | **PostgreSQL** | *all* | ``TIMESTAMP(0) WITH TIME ZONE`` | - | | +--------------------------+ | | - | | | **Oracle** | | | - +-------------------+---------------+--------------------------+---------+----------------------------------------------------------+ - | **time** | ``\DateTime`` | **MySQL** | *all* | ``TIME`` | - | | +--------------------------+ | | - | | | **SQLite** | | | - | | +--------------------------+---------+----------------------------------------------------------+ - | | | **PostgreSQL** | *all* | ``TIME(0) WITHOUT TIME ZONE`` | - | | +--------------------------+---------+----------------------------------------------------------+ - | | | **Oracle** | *all* | ``DATE`` [15] | - | | +--------------------------+---------+----------------------------------------------------------+ - | | | **SQL Server** | "all" | ``TIME(0)`` | - +-------------------+---------------+--------------------------+---------+----------------------------------------------------------+ - | **simple array** | ``array`` | **MySQL** | *all* | ``TINYTEXT`` [16] | - | [1] | | | +----------------------------------------------------------+ - | | | | | ``TEXT`` [17] | - | | | | +----------------------------------------------------------+ - | | | | | ``MEDIUMTEXT`` [18] | - | | | | +----------------------------------------------------------+ - | | | | | ``LONGTEXT`` [19] | - | | +--------------------------+---------+----------------------------------------------------------+ - | | | **PostgreSQL** | *all* | ``TEXT`` | - | | +--------------------------+ | | - | | | **Oracle** | *all* | ``CLOB`` | - | | +--------------------------+ | | - | | | **SQLite** | | | - | | +--------------------------+---------+----------------------------------------------------------+ - | | | **SQL Server** | *all* | ``VARCHAR(MAX)`` | - +-------------------+---------------+--------------------------+---------+----------------------------------------------------------+ - | **json** | ``mixed`` | **MySQL** | *all* | ``JSON`` | - | | +--------------------------+---------+----------------------------------------------------------+ - | | | **PostgreSQL** | *all* | ``JSON`` [20] | - | | | | +----------------------------------------------------------+ - | | | | | ``JSONB`` [21] | - | | +--------------------------+---------+----------------------------------------------------------+ - | | | **Oracle** | *all* | ``CLOB`` [1] | - | | +--------------------------+ | | - | | | **SQLite** | | | - | | +--------------------------+---------+----------------------------------------------------------+ - | | | **SQL Server** | *all* | ``VARCHAR(MAX)`` [1] | - +-------------------+---------------+--------------------------+---------+----------------------------------------------------------+ ++-------------------+---------------+-----------------------------------------------------------------------------------------------+ +| Doctrine | PHP | Database vendor | +| | +--------------------------+---------+----------------------------------------------------------+ +| | | Name | Version | Type | ++===================+===============+==========================+=========+==========================================================+ +| **smallint** | ``integer`` | **MySQL** | *all* | ``SMALLINT`` ``UNSIGNED`` [10] ``AUTO_INCREMENT`` [11] | +| | +--------------------------+---------+----------------------------------------------------------+ +| | | **PostgreSQL** | *all* | ``SMALLINT`` | +| | +--------------------------+---------+----------------------------------------------------------+ +| | | **Oracle** | *all* | ``NUMBER(5)`` | +| | +--------------------------+---------+----------------------------------------------------------+ +| | | **SQL Server** | *all* | ``SMALLINT`` ``IDENTITY`` [11] | +| | +--------------------------+---------+----------------------------------------------------------+ +| | | **SQLite** | *all* | ``INTEGER`` [15] | ++-------------------+---------------+--------------------------+---------+----------------------------------------------------------+ +| **integer** | ``integer`` | **MySQL** | *all* | ``INT`` ``UNSIGNED`` [10] ``AUTO_INCREMENT`` [11] | +| | +--------------------------+---------+----------------------------------------------------------+ +| | | **PostgreSQL** | *all* | ``INT`` [12] | +| | | | +----------------------------------------------------------+ +| | | | | ``SERIAL`` [11] | +| | +--------------------------+---------+----------------------------------------------------------+ +| | | **Oracle** | *all* | ``NUMBER(10)`` | +| | +--------------------------+---------+----------------------------------------------------------+ +| | | **SQL Server** | *all* | ``INT`` ``IDENTITY`` [11] | +| | +--------------------------+---------+----------------------------------------------------------+ +| | | **SQLite** | *all* | ``INTEGER`` [15] | ++-------------------+---------------+--------------------------+---------+----------------------------------------------------------+ +| **bigint** | ``string`` | **MySQL** | *all* | ``BIGINT`` ``UNSIGNED`` [10] ``AUTO_INCREMENT`` [11] | +| | [8] +--------------------------+---------+----------------------------------------------------------+ +| | | **PostgreSQL** | *all* | ``BIGINT`` [12] | +| | | | +----------------------------------------------------------+ +| | | | | ``BIGSERIAL`` [11] | +| | +--------------------------+---------+----------------------------------------------------------+ +| | | **Oracle** | *all* | ``NUMBER(20)`` | +| | +--------------------------+---------+----------------------------------------------------------+ +| | | **SQL Server** | *all* | ``BIGINT`` ``IDENTITY`` [11] | +| | +--------------------------+---------+----------------------------------------------------------+ +| | | **SQLite** | *all* | ``INTEGER`` [15] | ++-------------------+---------------+--------------------------+---------+----------------------------------------------------------+ +| **decimal** [7] | ``string`` | **MySQL** | *all* | ``NUMERIC(p, s)`` ``UNSIGNED`` [10] | +| | [9] +--------------------------+---------+----------------------------------------------------------+ +| | | **PostgreSQL** | *all* | ``NUMERIC(p, s)`` | +| | +--------------------------+ | | +| | | **Oracle** | | | +| | +--------------------------+ | | +| | | **SQL Server** | | | +| | +--------------------------+ | | +| | | **SQLite** | | | ++-------------------+---------------+--------------------------+---------+----------------------------------------------------------+ +| **smallfloat** | ``float`` | **MySQL** | *all* | ``FLOAT`` ``UNSIGNED`` [10] | +| | +--------------------------+---------+----------------------------------------------------------+ +| | | **PostgreSQL** | *all* | ``REAL`` | +| | +--------------------------+ | | +| | | **Oracle** | | | +| | +--------------------------+ | | +| | | **SQL Server** | | | +| | +--------------------------+ | | +| | | **SQLite** | | | ++-------------------+---------------+--------------------------+---------+----------------------------------------------------------+ +| **float** | ``float`` | **MySQL** | *all* | ``DOUBLE PRECISION`` ``UNSIGNED`` [10] | +| | +--------------------------+---------+----------------------------------------------------------+ +| | | **PostgreSQL** | *all* | ``DOUBLE PRECISION`` | +| | +--------------------------+ | | +| | | **Oracle** | | | +| | +--------------------------+ | | +| | | **SQL Server** | | | +| | +--------------------------+ | | +| | | **SQLite** | | | ++-------------------+---------------+--------------------------+---------+----------------------------------------------------------+ +| **string** | ``string`` | **MySQL** | *all* | ``VARCHAR(n)`` [3] | +| [2] [5] | +--------------------------+ | | +| | | **PostgreSQL** | | | +| | +--------------------------+ +----------------------------------------------------------+ +| | | **SQLite** | | | +| | +--------------------------+---------+----------------------------------------------------------+ +| | | **Oracle** | *all* | ``VARCHAR2(n)`` [3] | +| | | | +----------------------------------------------------------+ +| | | | | ``CHAR(n)`` [4] | +| | +--------------------------+---------+----------------------------------------------------------+ +| | | **SQL Server** | *all* | ``NVARCHAR(n)`` [3] | +| | | | +----------------------------------------------------------+ +| | | | | ``NCHAR(n)`` [4] | ++-------------------+---------------+--------------------------+---------+----------------------------------------------------------+ +| **ascii_string** | ``string`` | **SQL Server** | | ``VARCHAR(n)`` | +| | | | | ``CHAR(n)`` | ++-------------------+---------------+--------------------------+---------+----------------------------------------------------------+ +| **text** | ``string`` | **MySQL** | *all* | ``TINYTEXT`` [16] | +| | | | +----------------------------------------------------------+ +| | | | | ``TEXT`` [17] | +| | | | +----------------------------------------------------------+ +| | | | | ``MEDIUMTEXT`` [18] | +| | | | +----------------------------------------------------------+ +| | | | | ``LONGTEXT`` [19] | +| | +--------------------------+---------+----------------------------------------------------------+ +| | | **PostgreSQL** | *all* | ``TEXT`` | +| | +--------------------------+ | | +| | | **Oracle** | *all* | ``CLOB`` | +| | +--------------------------+ | | +| | | **SQLite** | | | +| | +--------------------------+---------+----------------------------------------------------------+ +| | | **SQL Server** | *all* | ``VARCHAR(MAX)`` | ++-------------------+---------------+--------------------------+---------+----------------------------------------------------------+ +| **guid** | ``string`` | **MySQL** | *all* | ``CHAR(36)`` [1] | +| | +--------------------------+ | | +| | | **Oracle** | | | +| | +--------------------------+ | | +| | | **SQLite** | | | +| | +--------------------------+---------+----------------------------------------------------------+ +| | | **SQL Server** | *all* | ``UNIQUEIDENTIFIER`` | +| | +--------------------------+ | | +| | | **PostgreSQL** | *all* | ``UUID`` | ++-------------------+---------------+--------------------------+---------+----------------------------------------------------------+ +| **binary** | ``resource`` | **MySQL** | *all* | ``VARBINARY(n)`` [3] | +| [2] [6] | +--------------------------+ +----------------------------------------------------------+ +| | | **SQL Server** | | ``BINARY(n)`` [4] | +| | +--------------------------+ +----------------------------------------------------------+ +| | | **Oracle** | *all* | ``RAW(n)`` | +| | +--------------------------+---------+----------------------------------------------------------+ +| | | **PostgreSQL** | *all* | ``BYTEA`` [15] | +| | +--------------------------+---------+----------------------------------------------------------+ +| | | **SQLite** | *all* | ``BLOB`` [15] | ++-------------------+---------------+--------------------------+---------+----------------------------------------------------------+ +| **blob** | ``resource`` | **MySQL** | *all* | ``TINYBLOB`` [16] | +| | | | +----------------------------------------------------------+ +| | | | | ``BLOB`` [17] | +| | | | +----------------------------------------------------------+ +| | | | | ``MEDIUMBLOB`` [18] | +| | | | +----------------------------------------------------------+ +| | | | | ``LONGBLOB`` [19] | +| | +--------------------------+---------+----------------------------------------------------------+ +| | | **Oracle** | *all* | ``BLOB`` | +| | +--------------------------+ | | +| | | **SQLite** | | | +| | +--------------------------+---------+----------------------------------------------------------+ +| | | **SQL Server** | *all* | ``VARBINARY(MAX)`` | +| | +--------------------------+---------+----------------------------------------------------------+ +| | | **PostgreSQL** | *all* | ``BYTEA`` | ++-------------------+---------------+--------------------------+---------+----------------------------------------------------------+ +| **boolean** | ``boolean`` | **MySQL** | *all* | ``TINYINT(1)`` | +| | +--------------------------+---------+----------------------------------------------------------+ +| | | **PostgreSQL** | *all* | ``BOOLEAN`` | +| | +--------------------------+ | | +| | | **SQLite** | | | +| | +--------------------------+---------+----------------------------------------------------------+ +| | | **SQL Server** | *all* | ``BIT`` | +| | +--------------------------+ | | +| | | **Oracle** | *all* | ``NUMBER(1)`` | ++-------------------+---------------+--------------------------+---------+----------------------------------------------------------+ +| **date** | ``\DateTime`` | **MySQL** | *all* | ``DATE`` | +| | +--------------------------+ | | +| | | **PostgreSQL** | | | +| | +--------------------------+ | | +| | | **Oracle** | | | +| | +--------------------------+ | | +| | | **SQLite** | | | +| | +--------------------------+---------+ | +| | | **SQL Server** | "all" | | ++-------------------+---------------+--------------------------+---------+----------------------------------------------------------+ +| **datetime** | ``\DateTime`` | **MySQL** | *all* | ``DATETIME`` [13] | +| | +--------------------------+---------+----------------------------------------------------------+ +| | | **SQL Server** | *all* | ``DATETIME`` | +| | +--------------------------+ | | +| | | **SQLite** | | | +| | +--------------------------+---------+----------------------------------------------------------+ +| | | **PostgreSQL** | *all* | ``TIMESTAMP(0) WITHOUT TIME ZONE`` | +| | +--------------------------+---------+----------------------------------------------------------+ +| | | **Oracle** | *all* | ``TIMESTAMP(0)`` | ++-------------------+---------------+--------------------------+---------+----------------------------------------------------------+ +| **datetimetz** | ``\DateTime`` | **MySQL** | *all* | ``DATETIME`` [14] [15] | +| | +--------------------------+ | | +| | | **SQLite** | | | +| | +--------------------------+---------+ | +| | | **SQL Server** | "all" | | +| | +--------------------------+---------+----------------------------------------------------------+ +| | | **PostgreSQL** | *all* | ``TIMESTAMP(0) WITH TIME ZONE`` | +| | +--------------------------+ | | +| | | **Oracle** | | | ++-------------------+---------------+--------------------------+---------+----------------------------------------------------------+ +| **time** | ``\DateTime`` | **MySQL** | *all* | ``TIME`` | +| | +--------------------------+ | | +| | | **SQLite** | | | +| | +--------------------------+---------+----------------------------------------------------------+ +| | | **PostgreSQL** | *all* | ``TIME(0) WITHOUT TIME ZONE`` | +| | +--------------------------+---------+----------------------------------------------------------+ +| | | **Oracle** | *all* | ``DATE`` [15] | +| | +--------------------------+---------+----------------------------------------------------------+ +| | | **SQL Server** | "all" | ``TIME(0)`` | ++-------------------+---------------+--------------------------+---------+----------------------------------------------------------+ +| **simple array** | ``array`` | **MySQL** | *all* | ``TINYTEXT`` [16] | +| [1] | | | +----------------------------------------------------------+ +| | | | | ``TEXT`` [17] | +| | | | +----------------------------------------------------------+ +| | | | | ``MEDIUMTEXT`` [18] | +| | | | +----------------------------------------------------------+ +| | | | | ``LONGTEXT`` [19] | +| | +--------------------------+---------+----------------------------------------------------------+ +| | | **PostgreSQL** | *all* | ``TEXT`` | +| | +--------------------------+ | | +| | | **Oracle** | *all* | ``CLOB`` | +| | +--------------------------+ | | +| | | **SQLite** | | | +| | +--------------------------+---------+----------------------------------------------------------+ +| | | **SQL Server** | *all* | ``VARCHAR(MAX)`` | ++-------------------+---------------+--------------------------+---------+----------------------------------------------------------+ +| **json** | ``mixed`` | **MySQL** | *all* | ``JSON`` | +| | +--------------------------+---------+----------------------------------------------------------+ +| | | **PostgreSQL** | *all* | ``JSON`` [20] | +| | | | +----------------------------------------------------------+ +| | | | | ``JSONB`` [21] | +| | +--------------------------+---------+----------------------------------------------------------+ +| | | **Oracle** | *all* | ``CLOB`` [1] | +| | +--------------------------+ | | +| | | **SQLite** | | | +| | +--------------------------+---------+----------------------------------------------------------+ +| | | **SQL Server** | *all* | ``VARCHAR(MAX)`` [1] | ++-------------------+---------------+--------------------------+---------+----------------------------------------------------------+ **Notes**