MongoLink`
MongoLink`

MongoInsertResult

MongoInsertResult[]

an object representing the result of a MongoDB insertion operation.

Details and Options

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:

Wolfram Research (2018), MongoInsertResult, Wolfram Language function, https://reference.wolfram.com/language/MongoLink/ref/MongoInsertResult.html.

Text

Wolfram Research (2018), MongoInsertResult, Wolfram Language function, https://reference.wolfram.com/language/MongoLink/ref/MongoInsertResult.html.

CMS

Wolfram Language. 2018. "MongoInsertResult." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/MongoLink/ref/MongoInsertResult.html.

APA

Wolfram Language. (2018). MongoInsertResult. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/MongoLink/ref/MongoInsertResult.html

BibTeX

@misc{reference.wolfram_2024_mongoinsertresult, author="Wolfram Research", title="{MongoInsertResult}", year="2018", howpublished="\url{https://reference.wolfram.com/language/MongoLink/ref/MongoInsertResult.html}", note=[Accessed: 15-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_mongoinsertresult, organization={Wolfram Research}, title={MongoInsertResult}, year={2018}, url={https://reference.wolfram.com/language/MongoLink/ref/MongoInsertResult.html}, note=[Accessed: 15-November-2024 ]}