idb-ts
    Preparing search index...

    Interface KeyPathMetadataInternal

    Metadata associated with a @KeyPath or @CompositeKeyPath decorator.

    interface KeyPathMetadata {
        fields: string | string[];
        options?: KeyPathOptions;
    }
    Index

    Properties

    Properties

    fields: string | string[]

    Single field name (simple key) or array of field names (composite key).

    options?: KeyPathOptions

    Key generation and auto-increment options.