Interface SqlCompoundCreditStoreOptions

How a SqlCompoundCreditStore is made.

interface SqlCompoundCreditStoreOptions {
    db: StorageAdapter;
    tablePrefix?: string;
    ensureSchema?: boolean;
    requireShared?: boolean;
}

Properties

db: StorageAdapter
tablePrefix?: string

The start of the tables' names; agentos_credit when absent.

ensureSchema?: boolean

Create the tables when missing. Default true; false when the host's migrations make them.

requireShared?: boolean

Refuse a store several processes cannot share. Default true; a single process and the tests pass false.