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.
pub async fn record_saved(
conn: &mut PgConnection,
snapshots: &[EntitySnapshot],
author: HistoryAuthor,
) -> ModelResult<()>Records each snapshot as saved, except those equal to their entity’s latest history row.