Platforms to show: All Mac Windows Linux Cross-Platform

MongoClientMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class MongoDB MBS MongoDB Plugin 22.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
A MongoDB connection.

This is a class that provides access to a MongoDB server, replica set, or sharded cluster. It maintains management of underlying sockets and routing to individual nodes

The connection is NOT thread-safe and should only be used from one thread at a time.

For macOS and iOS, your application may need to have the NSLocalNetworkUsageDescription in info.plist for local network access and your sandboxed application may need need the com.apple.security.network.client entitlement.

Log Levels

Constant Value Description
LogLevelCritical 1 Critical
LogLevelDebug 5 Debug
LogLevelError 0 Error
LogLevelInfo 4 Info
LogLevelMessage 3 Message
LogLevelTrace 6 Trace
LogLevelWarning 2 Warning

This class has no sub classes.

Blog Entries

Xojo Developer Magazine

Release notes

Some methods using this class:

Some properties using for this class:

Some examples using this class:

Some related classes:


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


MongoChangeStreamMBS   -   MongoCollectionMBS


The biggest plugin in space...