Function mentat_db::db::update_metadata [] [src]

pub fn update_metadata(
    conn: &Connection,
    _old_schema: &Schema,
    new_schema: &Schema,
    metadata_report: &MetadataReport
) -> Result<()>

Update the metadata materialized views based on the given metadata report.

This updates the "entids", "idents", and "schema" materialized views, copying directly from the "datoms" and "transactions" table as appropriate.