Doctrine\DBAL\Platforms\SQLServerPlatform::getCreateIndexSQL PHP Метод

getCreateIndexSQL() публичный Метод

{@inheritDoc}
public getCreateIndexSQL ( Doctrine\DBAL\Schema\Index $index, $table )
$index Doctrine\DBAL\Schema\Index
    public function getCreateIndexSQL(Index $index, $table)
    {
        $constraint = parent::getCreateIndexSQL($index, $table);
        if ($index->isUnique() && !$index->isPrimary()) {
            $constraint = $this->_appendUniqueConstraintDefinition($constraint, $index);
        }
        return $constraint;
    }
SQLServerPlatform