Platforms to show: All Mac Windows Linux Cross-Platform

MongoCollectionMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class MongoDB MBS MongoDB Plugin 22.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: This class provides access to a MongoDB collection.
Notes:
This handle is useful for actions for most CRUD operations, I.e. insert, update, delete, find, etc.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.
  • 3 properties
  • 16 methods
    • method Constructor private
    • method Copy as MongoCollectionMBS
    • method DeleteMany(selectorJSON as String, OptionsJSON as String = "") as String
    • method DeleteOne(selectorJSON as String, OptionsJSON as String = "") as String
    • method EstimatedDocumentCount(OptionsJSON as String = "") as Int64
    • method EstimatedDocumentCount(OptionsJSON as String, byref ReplyJSON as String) as Int64
    • method Find(FilterJSON as String, OptionsJSON as String = "") as MongoCursorMBS
    • method FindIndexes(OptionsJSON as String = "") as MongoCursorMBS
    • method InsertMany(documentArrayJSON as String, OptionsJSON as String = "") as String
    • method InsertMany(documentJSON() as String, OptionsJSON as String = "") as String
    • method InsertOne(documentJSON as String, OptionsJSON as String = "") as String
    • method Keys as String()
    • method Rename(NewDatabaseName as String, NewCollectionName as String, DropTargetBeforeRename as Boolean = false, OptionsJSON as String = "") as boolean
    • method ReplaceOne(selectorJSON as String, replacementJSON as String, OptionsJSON as String = "") as String
    • method UpdateMany(selectorJSON as String, updateJSON as String, OptionsJSON as String = "") as String
    • method UpdateOne(selectorJSON as String, updateJSON as String, OptionsJSON as String = "") as String

This class has no sub classes.

Some methods using this class:

Some examples using this class:


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


MongoClientMBS   -   MongoCursorMBS

Feedback: Report problem or ask question.

The biggest plugin in space...


Start Chat