LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • LangGraph Checkpoint
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    ⌘I

    LangChain Assistant

    Ask a question to get started

    Enter to send•Shift+Enter new line

    Menu

    LangGraph Checkpoint
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    Language
    Theme
    Pythonlanggraph.checkpoint.postgresbaseUPSERT_CHECKPOINT_BLOBS_SQL
    Attribute●Since v1.0

    UPSERT_CHECKPOINT_BLOBS_SQL

    Copy
    UPSERT_CHECKPOINT_BLOBS_SQL = '\n    INSERT INTO checkpoint_blobs (
      thread_id,
      checkpoint_ns,
      channel,
      version,
      type,
      blob)\n    VALUES (%s,
      %s,
      %s,
      %s,
      %s,
      %s)\n    ON CONFLICT (thread_id,
      checkpoint_ns,
      channel,
      version
    ) DO NOTHING\n'
    View source on GitHub