pub fn insert_validated(
conn: &Connection,
name: &str,
namespace: &str,
memory_type: &str,
description: Option<&str>,
body: &[u8],
body_hash: &str,
entities_json: Option<&str>,
relationships_json: Option<&str>,
) -> Result<i64, AppError>Expand description
Inserts a new entry into pending_memories with status validated.
Returns the generated pending_id.