MONGO D B LINK PACKAGE SYMBOL
InsertDocument
inserts a document (list of rules) into a collection.
DetailsDetails
- InsertDocument fully supports nested documents, arrays and primitive types (e.g. strings, numbers).
- The following options can be given:
-
WriteConcern Acknowledged write concern to use - Valid options for WriteConcern are "Acknowledged", "FSynced", "Journaled", "Majority", "Unacknowledged" and "ReplicaAcknowledged". For a description of these options, see the MongoDB documentation.