PATH:
home
/
centosnipponia
/
public_html
/
apptt
/
vendor
/
doctrine
/
dbal
/
lib
/
Doctrine
/
DBAL
/
Platforms
<?php namespace Doctrine\DBAL\Platforms; use Doctrine\DBAL\Schema\Index; use Doctrine\DBAL\Schema\TableDiff; use Doctrine\DBAL\Types\Types; /** * Provides the behavior, features and SQL dialect of the MySQL 5.7 (5.7.9 GA) database platform. */ class MySQL57Platform extends MySqlPlatform { /** * {@inheritdoc} */ public function hasNativeJsonType() { return true; } /** * {@inheritdoc} */ public function getJsonTypeDeclarationSQL(array $column) { return 'JSON'; } /** * {@inheritdoc} */ protected function getPreAlterTableRenameIndexForeignKeySQL(TableDiff $diff) { return []; } /** * {@inheritdoc} */ protected function getPostAlterTableRenameIndexForeignKeySQL(TableDiff $diff) { return []; } /** * {@inheritdoc} */ protected function getRenameIndexSQL($oldIndexName, Index $index, $tableName) { return ['ALTER TABLE ' . $tableName . ' RENAME INDEX ' . $oldIndexName . ' TO ' . $index->getQuotedName($this)]; } /** * {@inheritdoc} */ protected function getReservedKeywordsClass() { return Keywords\MySQL57Keywords::class; } /** * {@inheritdoc} */ protected function initializeDoctrineTypeMappings() { parent::initializeDoctrineTypeMappings(); $this->doctrineTypeMapping['json'] = Types::JSON; } }
[+]
..
[-] AbstractPlatform.php
[edit]
[-] DB2Platform.php
[edit]
[-] DateIntervalUnit.php
[edit]
[-] DrizzlePlatform.php
[edit]
[+]
Keywords
[-] MariaDb1027Platform.php
[edit]
[-] MySQL57Platform.php
[edit]
[-] MySQL80Platform.php
[edit]
[-] MySqlPlatform.php
[edit]
[-] OraclePlatform.php
[edit]
[-] PostgreSQL100Platform.php
[edit]
[-] PostgreSQL91Platform.php
[edit]
[-] PostgreSQL92Platform.php
[edit]
[-] PostgreSQL94Platform.php
[edit]
[-] PostgreSqlPlatform.php
[edit]
[-] SQLAnywhere11Platform.php
[edit]
[-] SQLAnywhere12Platform.php
[edit]
[-] SQLAnywhere16Platform.php
[edit]
[-] SQLAnywherePlatform.php
[edit]
[-] SQLAzurePlatform.php
[edit]
[-] SQLServer2005Platform.php
[edit]
[-] SQLServer2008Platform.php
[edit]
[-] SQLServer2012Platform.php
[edit]
[-] SQLServerPlatform.php
[edit]
[-] SqlitePlatform.php
[edit]
[-] TrimMode.php
[edit]
[-] .htaccess.disabled
[edit]