SqlPlatform
SqlPlatform.php
:
21
Final
Database platforms an {@see AbstractSqlMigration} can target.
Unlike DatabasePlatformName, MariaDB is a platform of its own here: it runs MySQL's SQL, but some DDL (JSON columns, for instance) has to match what Doctrine DBAL generates for MariaDB.
Provided as class constants rather than an enum for PHP 7.4 compatibility.
Constants¶
MARIADB ¶
SqlPlatform.php
:
25
|
|
|
MYSQL ¶
SqlPlatform.php
:
23
|
|
|
POSTGRESQL ¶
SqlPlatform.php
:
27
|
|
|
SQLITE ¶
SqlPlatform.php
:
29
|
|
|
Methods¶
all()
¶
SqlPlatform.php
:
39
|
|
|
Return values
array<int, string>