idb-ts
    Preparing search index...

    Interface DataClassOptions

    Options passed to the DataClass decorator.

    interface DataClassOptions {
        version?: number;
    }
    Index

    Properties

    Properties

    version?: number

    Schema version number for this entity. The Database sets the underlying IDBDatabase version to the highest version across all registered entities, triggering onupgradeneeded when new entities are added or existing ones are incremented.

    1