async fn lock_live_rows(
conn: &mut PgConnection,
entities: &[AgentChangesetEntity],
) -> ModelResult<()>Expand description
Locks the live rows of the staged entities until the transaction ends, so that nothing changes them between the conflict check and the writes.