Platforms to show: All Mac Windows Linux Cross-Platform

Back to MongoBulkOperationMBS class.

MongoBulkOperationMBS.BypassDocumentValidation as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property MongoDB MBS MongoDB Plugin 26.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Whether to bypass document validation for all operations part of this bulk.

(Read and Write property)

MongoBulkOperationMBS.Client as MongoClientMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property MongoDB MBS MongoDB Plugin 26.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The client for this operation.

(Read and Write property)

MongoBulkOperationMBS.Collection as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property MongoDB MBS MongoDB Plugin 26.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The collection name.

(Read and Write property)

MongoBulkOperationMBS.Comment as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property MongoDB MBS MongoDB Plugin 26.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Assigns a comment to attach to all commands executed as part of this bulk.

The comment will appear in log messages, profiler output, and currentOp output. Comments for write commands are only supported by MongoDB 4.4+.

It is prohibited to call this function after adding operations to the bulk.
(Read and Write property)

MongoBulkOperationMBS.Database as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property MongoDB MBS MongoDB Plugin 26.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The database name.

(Read and Write property)

MongoBulkOperationMBS.Handle as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property MongoDB MBS MongoDB Plugin 26.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The internal object reference.

(Read only property)

MongoBulkOperationMBS.Let as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property MongoDB MBS MongoDB Plugin 26.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Defines constants that can be accessed by all update, replace, and delete operations executed as part of this bulk.

It is prohibited to call this function after adding operations to the bulk.
(Read and Write property)

MongoBulkOperationMBS.Parent as MongoCollectionMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property MongoDB MBS MongoDB Plugin 26.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The parent collection.

(Read only property)

MongoBulkOperationMBS.ServerID as UInt32

Type Topic Plugin Version macOS Windows Linux iOS Targets
property MongoDB MBS MongoDB Plugin 26.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Specifies which server to use for the operation.

This function has an effect only if called before Execute().

When writing applications, leave the server id unset and allow the driver to choose a suitable server for the bulk operation.
(Read and Write property)

MongoBulkOperationMBS.UsedServerId as UInt32

Type Topic Plugin Version macOS Windows Linux iOS Targets
property MongoDB MBS MongoDB Plugin 26.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The used server id set by Execute method.

(Read only property)

Some examples using this property:

The items on this page are in the following plugins: MBS MongoDB Plugin.


The biggest plugin in space...