Skip to main content

is_commissioner

Function is_commissioner 

Source
pub async fn is_commissioner<'e, E>(
    ex: E,
    league_id: i64,
    user_id: i64,
) -> Result<bool, Error>
where E: Executor<'e, Database = Sqlite>,
Expand description

True when the user owns the commissioner team in the league.