Skip to main content

increment_revision

Function increment_revision 

Source
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.