Skip to main content

delete_vec

Function delete_vec 

Source
pub fn delete_vec(conn: &Connection, memory_id: i64) -> Result<(), AppError>
Expand description

Deletes the vector row for memory_id from vec_memories.

Called during forget and purge to keep the vector table consistent with the logical state of memories.

ยงErrors

Returns Err(AppError::Database) on any rusqlite failure.