| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
MongoDB.BulkOperation.Create
Creates a bulk operation.
| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
| MongoDB | 16.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "MongoDB.BulkOperation.Create"; MongoDBRef { ; OptionsJSON } ) More
Parameters
| Parameter | Description | Example | Flags |
|---|---|---|---|
| MongoDBRef | The reference number for the mongo connection. | $MongoDB | |
| OptionsJSON | Options to use. | Optional |
Result
Returns OK or error.
Description
Creates a bulk operation.You need to first open the relevant database and collection.
After creating this you may call various functions such as MongoDB.BulkOperation.UpdateOne, MongoDB.BulkOperation.UpdateMany, MongoDB.BulkOperation.Insert and others.
After calling MongoDB.BulkOperation.Execute the commands will be executed in as large as batches as reasonable by the client.
See also
- MongoDB.BulkOperation.Close
- MongoDB.BulkOperation.Execute
- MongoDB.BulkOperation.GetLet
- MongoDB.BulkOperation.Insert
- MongoDB.BulkOperation.RemoveOne
- MongoDB.BulkOperation.ReplaceOne
- MongoDB.BulkOperation.SetComment
- MongoDB.BulkOperation.SetLet
- MongoDB.BulkOperation.UpdateMany
- MongoDB.BulkOperation.UpdateOne
Release notes
- Version 16.4
- Added MongoDB.BulkOperation.Create and related functions for bulk operations on MongoDB.
Blog Entries
This function checks for a license.
Created 9th August 2026, last changed 9th August 2026
MarkDown version: MongoDBBulkOperationCreate.md