A database name can be included in a mongo URI,
mongodb://$[hostlist]/$[database]?authSource=$[authSource]
The Client struct in this crate seems to aim to operate collections within a single database. Why not just parse the database in the URI to build the Client instead of using the database method of a ClientBuilder?
A database name can be included in a mongo URI,
The
Clientstruct in this crate seems to aim to operate collections within a single database. Why not just parse the database in the URI to build theClientinstead of using thedatabasemethod of aClientBuilder?