public function set(array $data)
    {
        $sql = '';
        foreach ($data as $field => $value) {

            $sql .= $field . ' = ?,';
            $this->oosql_conValues[] = $value;

        }
        $this->sql(rtrim($sql, ','));

        return $this;
    }
public function set(array $data)
    {
        $sql = '';
        foreach ($data as $field => $value) {

            $sql .= $field . ' = ?,';
            $this->oosql_conValues[] = $value;

        }
        $this->sql(rtrim($sql, ','));

        return $this;
    }
public function set ( array $ data ) { $ sql = '' ; foreach ( $ data as $ field => $ value ) { $ sql .= $ field . ' = ?,' ; $ this -> oosql_conValues [ ] = $ value ; } $ this -> sql ( rtrim ( $ sql , ',' ) ) ; return $ this ; }
Sets the column, value pairs in update queries
@param array $data An array of the fields with their corresponding values in a key => value format
@return \Phiber\oosql\oosql Instance
Sets the column value pairs in update queries