Function parseMongoDBUrl
Prototypes
bool parseMongoDBUrl( out MongoClientSettings cfg, string url );
mongodb
//[username:password@]host1[:port1][,host2[:port2],...[,hostN[:portN]]][/[database][?options]]
Returns
true if the URL was successfully parsed. False if the URL can not be parsed.
If the URL is successfully parsed the MongoClientSettings
instance will contain the parsed config.
If the URL is not successfully parsed the information in the MongoClientSettings
instance may be
incomplete and should not be used.
Authors
Sönke Ludwig
Copyright
© 2012 RejectedSoftware e.K.
License
Subject to the terms of the MIT license, as written in the included LICENSE.txt file.