Doctrine\DBAL\Platforms\AbstractPlatform::getIndexDeclarationSQL
Obtain DBMS specific SQL code portion needed to set an index declaration to be used in statements like CREATE TABLE.
Signature
public function getIndexDeclarationSQL(string
$name,
Index
$index )
Parameters
$name
— string- name of the index
$index
— Doctrine\DBAL\Schema\Index- index definition
Returns
- string
- DBMS specific SQL code portion needed to set an index