Interface SqlKeyPoolStateStoreOptions

interface SqlKeyPoolStateStoreOptions {
    db: StorageAdapter;
    tablePrefix?: string;
    ensureSchema?: boolean;
    logger?: ILogger;
}

Properties

db: StorageAdapter

The adapter the pool state lives in; the product's own, or a separate one.

tablePrefix?: string

The table prefix, agentos by default.

ensureSchema?: boolean

Create the table on first use (default) or leave it to host migrations.

logger?: ILogger

Where a load that skips rows it cannot use (another version, a state that does not parse) writes its one warning. Default: the library's key-pool logger.