Skip to main content

lock_for_moves

Function lock_for_moves 

Source
async fn lock_for_moves(
    conn: &mut PgConnection,
    ids: &[Uuid],
) -> ModelResult<HashMap<Uuid, CreditRegistrationState>>
Expand description

The states of the named rows, locked until the caller’s transaction ends.