pub async fn increment_revision(
conn: &mut PgConnection,
id: Uuid,
) -> ModelResult<i32>Expand description
Increments the revision of a changeset the caller has locked with get_by_id_for_update
and returns the new revision.
pub async fn increment_revision(
conn: &mut PgConnection,
id: Uuid,
) -> ModelResult<i32>Increments the revision of a changeset the caller has locked with get_by_id_for_update
and returns the new revision.