pub async fn get_by_code( pool: &PgPool, actor: &Actor, item_id: Uuid, code: &str, ) -> AppResult<Revision>
A revision of an item by its code (A, B, …), if the actor may read it.
A
B