CustomPortableTableIndexesListTrait
Provide custom portable index listing for MySQL and MariDB platforms using the custom MySQLSchemaManager.
only for use in extended SchemaManager classes and not part of public core API.
Table of Contents
Methods
- buildIndex() : Index
- Build a Doctrine Index Object based on the information gathered from the MySQL information schema.
- customGetPortableTableIndexesList() : array<string, Index>
- getListTableIndexesSQL() : string
- Copied from `doctrine/dbal 3.x` \Doctrine\DBAL\Platforms\AbstractMySQLPlatform because it has been deprecated and will be removed in `doctrine/dbal 4.x`.
Methods
buildIndex()
Build a Doctrine Index Object based on the information gathered from the MySQL information schema.
protected
buildIndex(array<string|int, mixed> $tableIndexRows) : Index
Parameters
- $tableIndexRows : array<string|int, mixed>
Tags
Return values
IndexcustomGetPortableTableIndexesList()
protected
customGetPortableTableIndexesList(array<string, Index> $tableIndexesList, array<int, array<string, mixed>> $tableIndexes, string $tableName, Connection $connection) : array<string, Index>
Parameters
- $tableIndexesList : array<string, Index>
- $tableIndexes : array<int, array<string, mixed>>
- $tableName : string
- $connection : Connection
Return values
array<string, Index>getListTableIndexesSQL()
Copied from `doctrine/dbal 3.x` \Doctrine\DBAL\Platforms\AbstractMySQLPlatform because it has been deprecated and will be removed in `doctrine/dbal 4.x`.
protected
getListTableIndexesSQL(AbstractPlatform $platform, string $table[, string|null $database = null ]) : string
Parameters
- $platform : AbstractPlatform
- $table : string
- $database : string|null = null