Platforms to show: All Mac Windows Linux Cross-Platform
Back to MongoURIMBS class.
MongoURIMBS.AppName as String New in 24.2
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | MongoDB | MBS MongoDB Plugin | 24.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This value is used by MongoDB when it logs connection information and profile information, such as slow queries.
Default: Empty (no appname)
(Read and Write property)
MongoURIMBS.AuthMechanism as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | MongoDB | MBS MongoDB Plugin | 22.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Sets the “authMechanism” URI option, such as “SCRAM-SHA-1” or “GSSAPI”, after the URI has been parsed from a string.
Updates the option in-place if already set, otherwise appends it to the URI’s of options.
(Read and Write property)
MongoURIMBS.AuthSource as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | MongoDB | MBS MongoDB Plugin | 22.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Sets the “authSource” URI option, after the URI has been parsed from a string.
Updates the option in-place if already set, otherwise appends it to the URI’s options.
(Read and Write property)
MongoURIMBS.Compressors as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | MongoDB | MBS MongoDB Plugin | 22.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Sets the URI’s compressors, after the URI has been parsed from a string. Will overwrite any previously set value.
Value is a text consisting of one or more comma (,) separated compressors (e.g. “snappy,zlib”) or "".
Passing "" clears any existing compressors set on uri.
(Read and Write property)
MongoURIMBS.Credentials as String New in 24.2
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | MongoDB | MBS MongoDB Plugin | 24.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
(Read only property)
MongoURIMBS.DatabaseName as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | MongoDB | MBS MongoDB Plugin | 22.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This is the portion after the / but before the ?.
Sets the URI's database, after the URI has been parsed from a string.
The driver authenticates to this database if the connection string includes authentication credentials. This database is used when you open the default database with DefaultDatabase function.
(Read and Write property)
Some examples using this property:
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | MongoDB | MBS MongoDB Plugin | 22.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
(Read only property)
MongoURIMBS.Hosts as MongoHostListMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | MongoDB | MBS MongoDB Plugin | 22.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
(Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | MongoDB | MBS MongoDB Plugin | 23.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Fetches a JSON document containing all of the options provided after the ? of a URI.
Can be empty if not set.
(Read only property)
MongoURIMBS.Password as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | MongoDB | MBS MongoDB Plugin | 22.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
(Read and Write property)
MongoURIMBS.ServiceHostName as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | MongoDB | MBS MongoDB Plugin | 22.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
(Read only property)
MongoURIMBS.ServiceName as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | MongoDB | MBS MongoDB Plugin | 22.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
(Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | MongoDB | MBS MongoDB Plugin | 23.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Fetches a boolean indicating if TLS was specified for use in the URI.
Returns a boolean, true indicating that TLS should be used. This returns true if any TLS option is specified.
(Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | MongoDB | MBS MongoDB Plugin | 22.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
(Read only property)
MongoURIMBS.UserName as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | MongoDB | MBS MongoDB Plugin | 22.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
(Read and Write property)
The items on this page are in the following plugins: MBS MongoDB Plugin.