Doctrine\DBAL\Platforms\PostgreSqlPlatform::getDropSequenceSQL PHP Method

getDropSequenceSQL() public method

{@inheritDoc}
public getDropSequenceSQL ( $sequence )
    public function getDropSequenceSQL($sequence)
    {
        if ($sequence instanceof Sequence) {
            $sequence = $sequence->getQuotedName($this);
        }
        return 'DROP SEQUENCE ' . $sequence . ' CASCADE';
    }
PostgreSqlPlatform