| Methods |
public
|
createDatabasePlatformForVersion($version)
{@inheritDoc}
Parameters
| $version |
The platform/server version string to evaluate. This should be given in the notation
the underlying database vendor uses.
|
Throws
Implements
|
#
|
private
|
getOracleMysqlVersionNumber(string $versionString): string
Get a normalized 'version number' from the server string
returned by Oracle MySQL servers.
Get a normalized 'version number' from the server string
returned by Oracle MySQL servers.
Parameters
| $versionString |
Version string returned by the driver, i.e. '5.7.10'
|
Throws
|
#
|
private
|
getMariaDbMysqlVersionNumber(string $versionString): string
Detect MariaDB server version, including hack for some mariadb distributions
that starts with the prefix '5.5.5-'
Detect MariaDB server version, including hack for some mariadb distributions
that starts with the prefix '5.5.5-'
Parameters
| $versionString |
Version string as returned by mariadb server, i.e. '5.5.5-Mariadb-10.0.8-xenial'
|
Throws
|
#
|
public
|
getDatabasePlatform(): AbstractMySQLPlatform
{@inheritDoc}
|
#
|
public
|
getSchemaManager(Connection $conn, AbstractPlatform $platform): MySQLSchemaManager
{@inheritDoc}
Deprecated
Use {@link AbstractMySQLPlatform::createSchemaManager()} instead.
Implements
|
#
|
public
|
getExceptionConverter(): ExceptionConverter
Gets the ExceptionConverter that can be used to convert driver-level exceptions into DBAL exceptions.
Gets the ExceptionConverter that can be used to convert driver-level exceptions into DBAL exceptions.
Implements
|
#
|