Postgres::dropDatabase PHP Method

dropDatabase() public method

Drops a database
public dropDatabase ( $database )
$database The name of the database to drop
    function dropDatabase($database)
    {
        $this->fieldClean($database);
        $sql = "DROP DATABASE \"{$database}\"";
        return $this->execute($sql);
    }
Postgres