Setu-TS
    Preparing search index...

    Interface DatabaseIdempotencyStoreOptions

    0.9.0

    interface DatabaseIdempotencyStoreOptions {
        database?: string;
        entity?: string;
    }
    Index
    database?: string

    The named database connection to use — DatabasePlugin({ name }), so the store resolves database.<name>. Omitted (or 'default') resolves CAPABILITIES.DATABASE. It must be the database the work writes to: the record is created in that database's transaction, and work writing elsewhere gets no all-or-nothing guarantee.

    entity?: string

    The idempotency entity (table or collection). Default 'Idempotency'.