public function dropTable($target, $ifExists = true)
    {
        $query = 'DROP TABLE ';

        if ($ifExists === true) {
            $query .= 'IF EXISTS ';
        }

        if (!is_array($target)) {
            $target = array($target);
        }

        $target = $this->quote($target);
        $query .= sprintf('%s;', implode(', ', $target));

        $this->append($query);
        return $this;
    }
public function dropTable($target, $ifExists = true)
    {
        $query = 'DROP TABLE ';

        if ($ifExists === true) {
            $query .= 'IF EXISTS ';
        }

        if (!is_array($target)) {
            $target = array($target);
        }

        $target = $this->quote($target);
        $query .= sprintf('%s;', implode(', ', $target));

        $this->append($query);
        return $this;
    }
public function dropTable ( $ target , $ ifExists = true ) { $ query = 'DROP TABLE ' ; if ( $ ifExists === true ) { $ query .= 'IF EXISTS ' ; } if ( ! is_array ( $ target ) ) { $ target = array ( $ target ) ; } $ target = $ this -> quote ( $ target ) ; $ query .= sprintf ( '%s;' , implode ( ', ' , $ target ) ) ; $ this -> append ( $ query ) ; return $ this ; }
Generates DROP TABLE statement

@param string|array $table Table name
@param boolean $ifExists Whether to generate IF EXIST condition as well
@return \Krystal\Db\Sql\QueryBuilder
Generates DROP TABLE statement