pub async fn session_entities(
db: &Surreal<Db>,
session_id: &str,
) -> Result<SessionEntities, GraphError>Expand description
The entities a session touched, as its contributed_to records tell it.
Falls back to the entities the session authored (source = session_id)
when no records exist — the shape of a store whose sessions were ingested
before passive recording, where authorship is the only session link.