Member Junction
    Preparing search index...

    Class ProviderConfigDataBase<D>

    Base configuration class for data providers. Contains schema inclusion/exclusion rules and configuration data. Used to configure which database schemas should be included or excluded from metadata scanning.

    Type Parameters

    • D = any

    Hierarchy (View Summary)

    Index

    Constructors

    • Constructor for ProviderConfigDataBase

      Type Parameters

      • D = any

      Parameters

      • data: D
      • MJCoreSchemaName: string = '__mj'
      • OptionalincludeSchemas: string[]
      • OptionalexcludeSchemas: string[]
      • ignoreExistingMetadata: boolean = true

        if set to true, even if a global provider is already registered for the Metadata static Provider member, this class will still load up fresh metadata for itself. By default this is off and a class will use existing loaded metadata if it exists

      Returns ProviderConfigDataBase<D>

    Properties

    LocalStorageProvider?: ILocalStorageProvider

    Storage the provider should use from the start, before it loads metadata — typically a shared (Redis) store on a server fleet. When set, the provider installs it first, so the metadata load and every engine loaded at startup read and write the shared cache instead of a process-local one that is swapped out later. Optional; database providers otherwise default to an in-memory store.

    Accessors