Skip to main content

get_by_code

Function get_by_code 

Source
pub async fn get_by_code(
    pool: &PgPool,
    actor: &Actor,
    item_id: Uuid,
    code: &str,
) -> AppResult<Revision>
Expand description

A revision of an item by its code (A, B, …), if the actor may read it.