Skip to main content

link_memory_entity

Function link_memory_entity 

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

Links a memory to an entity in the memory_entities join table.

ยงErrors

Returns AppError::Database when the underlying SQLite operation fails.