Skip to content

Input the database name through a URI #3

@magiclen

Description

@magiclen

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions