protected function getPrimaryKeySQLDeclaration(PrimaryKey $primaryKey)
    {
        if (!$this->supportPrimaryKeys()) {
            throw PlatformException::methodNotSupported(__METHOD__);
        }

        return 'CONSTRAINT '.$primaryKey->getName().' PRIMARY KEY ('.implode(', ', $primaryKey->getColumnNames()).')';
    }
protected function getPrimaryKeySQLDeclaration(PrimaryKey $primaryKey)
    {
        if (!$this->supportPrimaryKeys()) {
            throw PlatformException::methodNotSupported(__METHOD__);
        }

        return 'CONSTRAINT '.$primaryKey->getName().' PRIMARY KEY ('.implode(', ', $primaryKey->getColumnNames()).')';
    }
protected function getPrimaryKeySQLDeclaration ( PrimaryKey $ primaryKey ) { if ( ! $ this -> supportPrimaryKeys ( ) ) { throw PlatformException :: methodNotSupported ( __METHOD__ ) ; } return 'CONSTRAINT ' . $ primaryKey -> getName ( ) . ' PRIMARY KEY (' . implode ( ', ' , $ primaryKey -> getColumnNames ( ) ) . ')' ; }
Gets the primary key SQL declaration.

@param \Fridge\DBAL\Schema\PrimaryKey $primaryKey The primary key.

@throws \Fridge\DBAL\Exception\PlatformException If the platform does not support primary key.

@return string The primary key SQL declaration.
Gets the primary key SQL declaration .