@grandlinex/core
    Preparing search index...

    Class CoreDBUpdate<D>Abstract

    Represents a migration step that updates the database schema or data from one version to another. The update logic is encapsulated in the performe method, which must be implemented by subclasses. Updates can be chained by setting a successor via setNext. The update method runs the current step, persists the new version and then recursively triggers the next step.

    Type Parameters

    Implements

    Index

    Constructors

    • Type Parameters

      Parameters

      • srcVersion: string
      • tarVersion: string
      • db: D

      Returns CoreDBUpdate<D>

    Properties

    srcVersion: string
    tarVersion: string

    Methods