Expand description
Structs§
- Memory
Row - Fully materialized row from the
memoriestable. - NewMemory
- Input payload for inserting or updating a memory.
Functions§
- delete_
vec - Deletes the vector row for
memory_idfromvec_memories. - find_
by_ hash - Looks up a live memory by exact
body_hashwithin a namespace. - find_
by_ name - Finds a live memory by
(namespace, name)and returns key metadata. - fts_
search - Executes a prefix-matching FTS5 search against
fts_memories. - insert
- Inserts a new row into the
memoriestable. - knn_
search - Runs a KNN search over
vec_memoriesrestricted to a namespace. - list
- Lists live memories in a namespace ordered by
updated_atdescending. - list_
deleted_ before - Fetches all memory_ids in a namespace that are soft-deleted and whose
deleted_atis older thanbefore_ts(unix epoch seconds). - read_
by_ name - Fetches a live memory by
(namespace, name)and returns all columns. - read_
full - Fetches a live memory by primary key and returns all columns.
- soft_
delete - Soft-deletes a memory by setting
deleted_at = unixepoch(). - update
- Updates an existing memory optionally guarded by optimistic concurrency.
- upsert_
vec - Replaces the vector row for a memory in
vec_memories.