@resistdesign/voltra
    Preparing search index...

    Type Alias SupportedDataItemDBDriverEntry

    An entry for a supported database driver.

    type SupportedDataItemDBDriverEntry = {
        factory: <
            ItemType extends Record<any, any>,
            UniquelyIdentifyingFieldName extends keyof ItemType,
        >(
            config: DataItemDBDriverConfig<ItemType, UniquelyIdentifyingFieldName>,
        ) => DataItemDBDriver<ItemType, UniquelyIdentifyingFieldName>;
        getDBSpecificConfigTypeInfo: () => TypeInfoPack;
    }
    Index

    Properties

    factory: <
        ItemType extends Record<any, any>,
        UniquelyIdentifyingFieldName extends keyof ItemType,
    >(
        config: DataItemDBDriverConfig<ItemType, UniquelyIdentifyingFieldName>,
    ) => DataItemDBDriver<ItemType, UniquelyIdentifyingFieldName>

    Factory function for creating a driver instance.

    Type Declaration

      • <
            ItemType extends Record<any, any>,
            UniquelyIdentifyingFieldName extends keyof ItemType,
        >(
            config: DataItemDBDriverConfig<ItemType, UniquelyIdentifyingFieldName>,
        ): DataItemDBDriver<ItemType, UniquelyIdentifyingFieldName>
      • Type Parameters

        • ItemType extends Record<any, any>
        • UniquelyIdentifyingFieldName extends keyof ItemType

        Parameters

        Returns DataItemDBDriver<ItemType, UniquelyIdentifyingFieldName>

        Driver instance.

    getDBSpecificConfigTypeInfo: () => TypeInfoPack

    Return type info describing the DB-specific config.

    Type Declaration

      • (): TypeInfoPack
      • Returns TypeInfoPack

        Type info pack for DB-specific config.