Type definition for the input parameters required to initialize an instance of the MongoDBStoreInput class.

interface MongoDBStoreInput {
    collection: Collection<Document>;
    namespace?: string;
    primaryKey?: string;
    yieldKeysScanBatchSize?: number;
}

Properties

collection: Collection<Document>
namespace?: string

The namespace to use for the keys in the database.

primaryKey?: string

The primary key to use for the database.

Default

"_id"
yieldKeysScanBatchSize?: number

The amount of keys to retrieve per batch when yielding keys.

Default

1000

Generated using TypeDoc