original_string: public function set(string $key, $value, $type = \PDO::PARAM_STR): self
      {
          $this->setParam(null, $value, $type);
          $this->set[] = Db::quoteIdentifier($key) . ' = ?';
          return $this;
      }
code: public function set(string $key, $value, $type = \PDO::PARAM_STR): self
      {
          $this->setParam(null, $value, $type);
          $this->set[] = Db::quoteIdentifier($key) . ' = ?';
          return $this;
      }
code_tokens: public function set ( string $ key , $ value , $ type = \ PDO :: PARAM_STR ) : self { $ this -> setParam ( null , $ value , $ type ) ; $ this -> set [ ] = Db :: quoteIdentifier ( $ key ) . ' = ?' ; return $ this ; }
docstring: Set key-value pair
  
  Sets a new value for a column in a insert/update query
  <code>
  $ub = new UpdateBuilder();
  $ub
  ->update('users')
  ->set('password', md5('password'))
  ->where('id = ?');
  </code>
  
  @param  string         $key   The column to set
  @param  string|integer $value The value, expression, placeholder, etc
  @param  int            $type  The type of value on of PDO::PARAM_* params
  
  @return $this
docstring_tokens: Set key - value pair