Skip to main content

for_fantasy_team

Function for_fantasy_team 

Source
pub async fn for_fantasy_team<'e, E>(
    ex: E,
    league_id: i64,
    team_id: FantasyTeamId,
) -> Result<Option<FantasyTeamEntries>, EntriesError>
where E: Executor<'e, Database = Sqlite> + Copy,
Expand description

One fantasy team in a league with its contest entries, lineups parsed and typed. None when the id is not in this league.