Hierarchy

  • BaseCheckpointSaver
    • CloudflareD1Saver

Constructors

Properties

Methods

Constructors

Properties

db: D1Database
isSetup: boolean
serde: SerializerProtocol<unknown>

Methods

  • Parameters

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

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

  • Parameters

    • config: RunnableConfig<Record<string, any>>
    • Optionallimit: number
    • Optionalbefore: RunnableConfig<Record<string, any>>

    Returns AsyncGenerator<CheckpointTuple, any, unknown>

  • Parameters

    • config: RunnableConfig<Record<string, any>>
    • checkpoint: Checkpoint<string, string>
    • metadata: CheckpointMetadata

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