Hierarchy (view full)

Constructors

Properties

db: Database
isSetup: boolean

Methods

  • Parameters

    • config: RunnableConfig<Record<string, any>>

    Returns Promise<undefined | Checkpoint<string, string>>

  • Generate the next version ID for a channel.

    Default is to use integer versions, incrementing by 1. If you override, you can use str/int/float versions, as long as they are monotonically increasing.

    Parameters

    • current: undefined | number
    • _channel: ChannelProtocol<unknown, unknown, unknown>

    Returns number

  • Parameters

    Returns Promise<RunnableConfig<Record<string, any>>>

  • Store intermediate writes linked to a checkpoint.

    Parameters

    • config: RunnableConfig<Record<string, any>>
    • writes: PendingWrite<string>[]
    • taskId: string

    Returns Promise<void>

  • Returns void

  • Parameters

    • connStringOrLocalPath: string

    Returns SqliteSaver