Skip to main content

sync_statements

Function sync_statements 

Source
pub fn sync_statements(
    defs: &[VectorIndex],
    built: &BTreeMap<String, String>,
    caps: &Capabilities,
) -> Result<Vec<Statement>>
Expand description

Statements making the built tables match the definitions: orphans and stale tables are dropped, missing and stale ones created. Empty when everything is current.