Method MongoCollection.update

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

Prototype

void update(T, U)(T selector, U update, UpdateFlags flags = UpdateFlags.None)(
  ReturnTypeString.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.