headless_lms_models::code_giveaway_codes

Function get_all_by_code_giveaway_id

Source
pub async fn get_all_by_code_giveaway_id(
    conn: &mut PgConnection,
    code_giveaway_id: Uuid,
) -> ModelResult<Vec<CodeGiveawayCode>>