Entity

    Interface IEntityDatabaseAdapterProvider

    A database adapter provider vends database adapters for a particular database adapter type. Allows for passing global configuration to databse adapters, making testing easier.

    interface IEntityDatabaseAdapterProvider {
        getDatabaseAdapter<
            TFields extends Record<string, any>,
            TIDField extends string | number | symbol,
        >(
            entityConfiguration: EntityConfiguration<TFields, TIDField>,
        ): EntityDatabaseAdapter<TFields, TIDField>;
    }

    Implemented by

    Index

    Methods

    MMNEPVFCICPMFPCPTTAAATR