Skip to main content

team_for_user

Function team_for_user 

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

The current user’s team in a league, if they have one.