Regarding the [connection string spec](https://github.com/mongodb/specifications/blob/master/source/connection-string/connection-string-spec.rst)... There is now a more generic [connection-string], which supports everything the spec needs, and more, in case anybody is interested. For example, the database name would be `.segments[0]`, if it is specified. [connection-string]:https://github.com/vitaly-t/connection-string
Regarding the connection string spec...
There is now a more generic connection-string, which supports everything the spec needs, and more, in case anybody is interested.
For example, the database name would be
.segments[0], if it is specified.