MongoLink`
MongoLink`

MongoInsertResult

MongoInsertResult[]

an object representing the result of a MongoDB insertion operation.

Details

Examples

Basic Examples  (1)

Connect to a client:

Connect to a the "WolframTestCollection" collection in the "WolframTestDB" database:

Create an data association to represent a document:

Insert one document into the collection:

Obtain a list of the primary keys of the inserted documents: