Method MongoCollection.update

Performs an update operation on documents matching 'selector', updating them with 'update'.

Prototypes

void update((T,U))(
  T selector,
  U update,
  UpdateFlags flags
);

Throws

Exception if a DB communication error occured.

See_Also

http://www.mongodb.org/display/DOCS/Updating

Authors

Sönke Ludwig

Copyright

© 2012 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.