langchain.js
Preparing search index...
@langchain/langgraph-checkpoint-sqlite
SqliteSaver
Class SqliteSaver
Hierarchy (
View Summary
)
BaseDynamicToolInput
SqliteSaver
Index
Constructors
constructor
Properties
db
is
Setup
with
Checkpoint
without
Checkpoint
Methods
delete
Thread
get
Tuple
list
migrate
Pending
Sends
put
put
Writes
setup
from
Conn
String
Constructors
constructor
new
SqliteSaver
(
db
:
Database
,
serde
?:
any
)
:
SqliteSaver
Parameters
db
:
Database
Optional
serde
:
any
Returns
SqliteSaver
Properties
db
db
:
Database
Protected
is
Setup
isSetup
:
boolean
Protected
with
Checkpoint
withCheckpoint
:
Statement
Protected
without
Checkpoint
withoutCheckpoint
:
Statement
Methods
delete
Thread
deleteThread
(
threadId
:
string
)
:
Promise
<
void
>
Parameters
threadId
:
string
Returns
Promise
<
void
>
get
Tuple
getTuple
(
config
:
RunnableConfig
)
:
Promise
<
any
>
Parameters
config
:
RunnableConfig
Returns
Promise
<
any
>
list
list
(
config
:
RunnableConfig
,
options
?:
any
)
:
AsyncGenerator
<
CheckpointTuple
>
Parameters
config
:
RunnableConfig
Optional
options
:
any
Returns
AsyncGenerator
<
CheckpointTuple
>
Protected
migrate
Pending
Sends
migratePendingSends
(
checkpoint
:
Checkpoint
,
threadId
:
string
,
parentCheckpointId
:
string
,
)
:
Promise
<
void
>
Parameters
checkpoint
:
Checkpoint
threadId
:
string
parentCheckpointId
:
string
Returns
Promise
<
void
>
put
put
(
config
:
RunnableConfig
,
checkpoint
:
Checkpoint
,
metadata
:
CheckpointMetadata
,
)
:
Promise
<
RunnableConfig
<
Record
<
string
,
any
>
>
>
Parameters
config
:
RunnableConfig
checkpoint
:
Checkpoint
metadata
:
CheckpointMetadata
Returns
Promise
<
RunnableConfig
<
Record
<
string
,
any
>
>
>
put
Writes
putWrites
(
config
:
RunnableConfig
,
writes
:
PendingWrite
[]
,
taskId
:
string
,
)
:
Promise
<
void
>
Parameters
config
:
RunnableConfig
writes
:
PendingWrite
[]
taskId
:
string
Returns
Promise
<
void
>
Protected
setup
setup
()
:
void
Returns
void
Static
from
Conn
String
fromConnString
(
connStringOrLocalPath
:
string
)
:
SqliteSaver
Parameters
connStringOrLocalPath
:
string
Returns
SqliteSaver
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
db
is
Setup
with
Checkpoint
without
Checkpoint
Methods
delete
Thread
get
Tuple
list
migrate
Pending
Sends
put
put
Writes
setup
from
Conn
String
langchain.js
Loading...