original_string: public function update(array $query, array $newObject, array $options = array())
      {
          return $this->getCollection()->update($query, $newObject, $options);
      }
code: public function update(array $query, array $newObject, array $options = array())
      {
          return $this->getCollection()->update($query, $newObject, $options);
      }
code_tokens: public function update ( array $ query , array $ newObject , array $ options = array ( ) ) { return $ this -> getCollection ( ) -> update ( $ query , $ newObject , $ options ) ; }
docstring: Updates documents.
  
  @param array $query     The query.
  @param array $newObject The new object.
  @param array $options   The options for the update operation (optional).
  
  @return mixed The result of the update collection method.
docstring_tokens: Updates documents .