Platforms to show: All Mac Windows Linux Cross-Platform
Back to MongoURIMBS class.
MongoURIMBS.Constructor(URI as String)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | MongoDB | MBS MongoDB Plugin | 22.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Raises a MongoExceptionMBS in case of a parsing error.
Examples of some valid MongoDB connection strings can be seen below.
- "mongodb://localhost/"
- "mongodb://localhost/?replicaSet=myreplset"
- "mongodb://myuser:mypass@localhost/"
- "mongodb://kerberosuser%40EXAMPLE.COM@example.com/?authMechanism=GSSAPI"
- "mongodb://[::1]:27017/"
- "mongodb://10.0.0.1:27017,10.0.0.1:27018,[::1]:27019/?tls=true"
- "mongodb://%2Ftmp%2Fmongodb-27017.sock"
- "mongodb://user:pass@%2Ftmp%2Fmongodb-27017.sock"
- "mongodb://localhost,[::1]/mydb?authSource=mydb"
MongoURIMBS.Copy as MongoURIMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | MongoDB | MBS MongoDB Plugin | 22.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The items on this page are in the following plugins: MBS MongoDB Plugin.