Set table.
@param  string $table
@return self
181345
public function setTable(string $table): self
    {
        $this->table = $this->agent->escapeIdentifier($table);

        return $this;
    }
863643
public function setBlockedISOTable($table){
        if(is_string($table)){
            $this->blocked_iso_countries = filter_var($table, FILTER_SANITIZE_STRING);
        }
        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;
    }
1316719
public function update($table)
    {
        $this->type  = 'UPDATE';
        $this->table = $this->quoteName($table);
        return $this;
    }
372757
public function update($table, $columns) 
    {
        $this->sql = 'UPDATE ' . $this->quoteTableName($table) . ' SET ';
        foreach($columns as $k => $v) {
            $this->sql .= $this->quoteColumnName($k) .' = '. $this->quoteValue($v) . ', ';
        }
        
        $this->sql = trim($this->sql, ', ');
        
        return $this;
    }
1128530
public function setTable($table)
    {
        $this->table = 'post_'.cleanPostTypeSlug($table);
        self::$_tmptable = $this->table;
        return $this;
    }
515210
public function from($table, $as = null)
	{
		$this->syntax->setFrom($table, $as);
		return $this;
	}
348161
public function setTable($table)
    {
        if (is_array($table)) {
            if (!isset($table['name'])) {
                throw new \InvalidArgumentException('A name key is required when passing an array to setTable()');
            }
            $this->table = $table['name'];
        } else {
            $this->table = $table;
        }
    }
970558
public function insert($table = null)
    {
        $this->type = self::TYPE_INSERT;
        if ($table) {
            $this->table($table);
        }

        return $this;
    }
47103
public function addTable($table)
    {
        $this->nextTableId++;
        $this[$this->nextTableId] = $table;
        return $this->nextTableId;
    }
825916
public function insertInto( $table )
    {
        $table = $this->getIdentifier( $table );
        $table = $this->getPrefixedTableNames($table);
        $this->table = $table;
        return $this;
    }
215205
public function setTable(\TechPromux\DynamicQueryBundle\Entity\MetadataTable $table)
    {
        $this->table = $table;

        return $this;
    }
674770
public function lockTable($table)
	{
		$this->executeUnpreparedQuery($this->replacePrefix('LOCK TABLES ' . $this->quoteName($table) . ' WRITE'));

		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;
    }
474893
public function setFrom($table, $alias = null)
    {
        $this->table = $table;
        $this->aliasTable = $alias === null ? $table : $alias;

        return $this;
    }
1118370
public function setRequiredTables(array $tables) {
        $this->requiredTables = array_unique(array_merge($this->requiredTables, $tables));

        return $this;
    }
1208937
public function delete($table)
	{
		if (in_array($table, $this->tablesToDelete) === false) {
			$this->tablesToDelete[] = $table;
		}

		return $this;
	}