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.

"_id"
yieldKeysScanBatchSize?: number

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

1000