Skip to main content

emit_sql_use_facts

Function emit_sql_use_facts 

Source
pub fn emit_sql_use_facts(
    store: &mut FactStore,
    prov: &FactProvenance,
    owner_logical_id: &str,
    model: &SqlStatementModel,
) -> usize
Expand description

Emit table-level + column-level use facts for one statement. owner_logical_id is the routine the statement lives in (the from side of every edge). Returns the post-dedup count of facts added.