src/Pools/Miner.php
public function set($column, $value = null, $quote = null)
    {
        if (is_array($column)) {
            foreach ($column as $columnName => $columnValue) {
                $this->set($columnName, $columnValue, $quote);
            }
        } else {
            $this->set[] = array(
                'column' => $this->columnQuote($column),
                'value' => $value,
                'quote' => $quote
            );
        }
        
        return $this;
    }
public function set($column, $value = null, $quote = null)
    {
        if (is_array($column)) {
            foreach ($column as $columnName => $columnValue) {
                $this->set($columnName, $columnValue, $quote);
            }
        } else {
            $this->set[] = array(
                'column' => $this->columnQuote($column),
                'value' => $value,
                'quote' => $quote
            );
        }
        
        return $this;
    }
public function set ( $ column , $ value = null , $ quote = null ) { if ( is_array ( $ column ) ) { foreach ( $ column as $ columnName => $ columnValue ) { $ this -> set ( $ columnName , $ columnValue , $ quote ) ; } } else { $ this -> set [ ] = array ( 'column' => $ this -> columnQuote ( $ column ) , 'value' => $ value , 'quote' => $ quote ) ; } return $ this ; }
Add one or more column values to INSERT, UPDATE, or REPLACE.

@param string|array $column
column name or array of columns => values
@param mixed|null $value
optional value for single column
@param bool|null $quote
optional auto-escape value, default to global
@return Miner
Add one or more column values to INSERT UPDATE or REPLACE .