prorm API Reference
    Preparing search index...

    Interface MongoStoreOptions

    Options for constructing a MongoStore.

    uri is the standard MongoDB connection string (mongodb://... / mongodb+srv://...). database selects the database to operate against once connected. Any additional standard MongoClientOptions (pool size, TLS, auth, timeouts, etc.) can be passed through via clientOptions.

    interface MongoStoreOptions {
        uri: string;
        database: string;
        clientOptions?: MongoClientOptions;
    }
    Index
    uri: string

    MongoDB connection string, e.g. mongodb://localhost:27017

    database: string

    Name of the database to use

    clientOptions?: MongoClientOptions

    Additional options passed straight through to the native MongoClient