original_string: public function update($table, array $fields, $where, $options = null)
      {
          $query = new Update(
              $this,
              $table,
              $fields,
              new Where($where),
              new Options($options)
          );
          return $query->execute();
      }
code: public function update($table, array $fields, $where, $options = null)
      {
          $query = new Update(
              $this,
              $table,
              $fields,
              new Where($where),
              new Options($options)
          );
          return $query->execute();
      }
code_tokens: public function update ( $ table , array $ fields , $ where , $ options = null ) { $ query = new Update ( $ this , $ table , $ fields , new Where ( $ where ) , new Options ( $ options ) ) ; return $ query -> execute ( ) ; }
docstring: Update one or more rows in the database.
  
  @param string $table The table to update.
  @param array $fields Array Field => value pairs to update.
  @param array $where Array of where statements to limit updates.
  @return integer The number of affected (updated) rows.
  @throws Dabble\Query\UpdateException if no rows were updated.
  @throws Dabble\Query\SqlException on error.
docstring_tokens: Update one or more rows in the database .