Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

MongoDB.BulkOperation.RemoveMany

Delete documents as part of a bulk operation.

Component Version macOS Windows Linux Server iOS SDK
MongoDB 16.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "MongoDB.BulkOperation.RemoveMany"; MongoDBRef; selectorJSON { ; OptionsJSON } )   More

Parameters

Parameter Description Example Flags
MongoDBRef The reference number for the mongo connection. $MongoDB
selectorJSON A JSON containing the query to match documents for deleting.
OptionsJSON Options as JSON. Optional

Result

Returns OK or error.

Description

Delete documents as part of a bulk operation.
This only queues the operation. To execute it, call MongoDB.BulkOperation.Execute.

See also

Blog Entries

This function checks for a license.

Created 9th August 2026, last changed 9th August 2026


MongoDB.BulkOperation.Insert - MongoDB.BulkOperation.RemoveOne


MarkDown version: MongoDBBulkOperationRemoveMany.md