Method MongoCollection.insert

Inserts new documents into the collection.

Prototype

void insert(T)(T document_or_documents, InsertFlags flags = InsertFlags.None)(
  ReturnTypeString.T document_or_documents,
  InsertFlags flags
);

Throws

Exception if a DB communication error occured.

See Also

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

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.