Interface SqlLearningStoreOptions

How a SqlLearningStore is built: the host's adapter, and whether the store makes its own tables.

interface SqlLearningStoreOptions {
    adapter: StorageAdapter;
    ensureSchema?: boolean;
}

Properties

adapter: StorageAdapter

The host's storage adapter, with transactions. The store never closes it.

ensureSchema?: boolean

Create the tables and add the columns a later release names before the store's first statement. Default true; false for a product that runs the learning store's DDL in its own migrations.