Drop table if exists.

@param string $table

@return $this
12011
public function drop($table = '')
    {
        $tableName = '';

        $tableName = ($table !== '') ?
            $table : $this->tableName;

        $this->schema = strtoupper(__FUNCTION__).' TABLE IF EXISTS
        `'.$this->database.'`.`'.$tableName.'`'.PHP_EOL;

        return $this;
    }
1195998
public function table($table = [])
    {
        $tables = $this->prepareNames(func_get_args());
        $this->tables = array_merge($this->tables ?: [], $tables);
        return $this;
    }
161620
def drop_if_exists(self, table):
        
        blueprint = self._create_blueprint(table)

        blueprint.drop_if_exists()

        self._build(blueprint)
348045
public static function dropColumn($table, $column)
    {
        $query = static::getQuery();

        return static::build(
            'ALTER TABLE',
            $query->quoteName($table),
            'DROP',
            'COLUMN',
            $query->quoteName($column)
        );
    }
1271056
public static function drop($table, $connection = null)
	{
		$table = new Table($table);

		$table->on($connection);

		// To indicate that the table needs to be dropped, we will run the
		// "drop" command on the table instance and pass the instance to
		// the execute method as calling a Closure isn't needed.
		$table->drop();

		return static::execute($table);
	}
921907
public function delete($table){
		$statement = Statement::createDelete($this->connection, $table);
		foreach($this->observers as $observer){
			$statement->attachObserver($observer, $this->observers->getInfo());
		}
		return $statement;
	}
8064
public static function dropIndex($table, $name)
    {
        $query = static::getQuery();

        return static::build(
            'DROP INDEX',
            $query->quoteName($name),
            'ON',
            $query->quoteName($table)
        );
    }
895216
public function dropIndex($table, $name)
    {
        $query = sprintf('DROP INDEX %s ON %s ;', $this->quote($name), $this->quote($table));

        $this->append($query);
        return $this;
    }
1243699
public function from($table)
    {
        if ($table instanceof TableIdentifier) {
            $table = $table->getTable(); // Ignore schema because it is not supported by SphinxQL
        }

        $this->table = $table;

        return $this;
    }
1128530
public function setTable($table)
    {
        $this->table = 'post_'.cleanPostTypeSlug($table);
        self::$_tmptable = $this->table;
        return $this;
    }
1271745
public function drop($table) {
        $blueprint = $this->createBlueprint($table);
        // Delete Vertex
        $blueprint->delete();
        $this->build($blueprint);
        // Drop Class
        $blueprint->drop();
        $this->build($blueprint);
    }
579318
public function setTable($table)
    {
        $this->table = $table;
        $this->getQuery()->table($table);

        return $this;
    }
408806
public static function table($table)
    {
        //as all calls will start with this function, first check if database connection has being established
        if(Connect::getConn()==null){
            //lets just return the object of the class in-case of connection error (developer will handle the rest)
            return new static ;
        }
        self::$table = self::sanitize($table);

        return new static;
    }
792490
public function dropIfExists($table)
    {
        $blueprint = $this->createBlueprint($table);

        $blueprint->dropIfExists();

        $this->build($blueprint);
    }
943117
public function table($table)
    {
        $this->table = $this->completeExpression(($table instanceof Expr\Subquery)
            ? $table : new Expr\Table($table));
        
        return $this;
    }
385756
public function table($table)
    {
        $this->table = $table;
        $alias = $this->alias ?? $this->table;

        if (!in_array('`' . $table . '`.*', $this->select) && !in_array('`' . $alias . '`.*', $this->select)) {
            $this->select[] = '`' . $table . '`.*';
        }

        return $this;
    }
1194986
public function from($table = null)
    {
        if ($table !== null) {
            $this->table = $table;
            $table = $this->quote($table);
        }

        $this->append(' FROM ' . $table);
        return $this;
    }