public function drop($table, $ifExists = false)
    {
        $sql = 'DROP TABLE ';
        if ($ifExists) {
            $sql .= 'IF EXISTS ';
        }
        $sql .= $table;

        $this->db->executeUpdate($sql);

        return $this;
    }
public function drop($table, $ifExists = false)
    {
        $sql = 'DROP TABLE ';
        if ($ifExists) {
            $sql .= 'IF EXISTS ';
        }
        $sql .= $table;

        $this->db->executeUpdate($sql);

        return $this;
    }
public function drop ( $ table , $ ifExists = false ) { $ sql = 'DROP TABLE ' ; if ( $ ifExists ) { $ sql .= 'IF EXISTS ' ; } $ sql .= $ table ; $ this -> db -> executeUpdate ( $ sql ) ; return $ this ; }
Execute a drop table sql

@param string $table
@param bool $ifExists
@return $this
Execute a drop table sql