Skip to main content

sync_from_project

Function sync_from_project 

Source
pub fn sync_from_project(
    global: &Connection,
    project: &Connection,
    project_hash: &str,
) -> Result<usize>
Expand description

Copy this project’s high-signal embedded events into the global index. Idempotent (INSERT OR REPLACE on event_id); call after embedding a project. Returns how many rows were synced. superseded is flagged from the decisions.superseded_by projection so contradicted decisions can be down-ranked at query time.