mongodb-memory-server-core
    Preparing search index...

    Function uriTemplate

    • Basic MongoDB Connection string

      Parameters

      • host: string

        the host ip or an list of hosts

      • port: number | undefined

        the host port or undefined if "host" is an list of hosts

      • dbName: string

        the database to add to the uri (in mongodb its the auth database, in mongoose its the default database for models)

      • Optionalquery: string[]

        extra uri-query options (joined with "&")

      Returns string