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.sqliteSqliteSavercursor
    Method●Since v1.0

    cursor

    Copy
    cursor(
        self,
        transaction: bool = True,
    ) -> Iterator[sqlite3.Cursor]
    View source on GitHub

    Parameters

    NameTypeDescription
    transactionbool
    Default:True

    Whether to commit the transaction when the cursor is closed. Defaults to True.

    Get a cursor for the SQLite database.

    This method returns a cursor for the SQLite database. It is used internally by the SqliteSaver and should not be called directly by the user.