Skip to main content

record_saved

Function record_saved 

Source
pub async fn record_saved(
    conn: &mut PgConnection,
    snapshots: &[EntitySnapshot],
    author: HistoryAuthor,
) -> ModelResult<()>
Expand description

Records each snapshot as saved, except those equal to their entity’s latest history row.