fn get_pet_ids(
    char_id: CharacterId,
    transaction: &mut Transaction<'_>
) -> Result<Vec<i64>, PersistenceError>