Function delete_by_id

Source
pub async fn delete_by_id(
    conn: &mut PgConnection,
    code_id: Uuid,
) -> ModelResult<CodeGiveawayCode>