robbiblubber.org |
insert()MongoDB Driver Function Reference Inserts multiple documents into a collection. This method differs from the MongoDB shell implementation. It is functionally identical to insertMany(), but takes a list of documents (varargs) instead of an array. It also does not support options.
Arguments
Example
Inserts documents into the employees collection. home | MongoDB Driver Function Reference | MongoDB Driver |