Skip to main content

lineup_for_team

Function lineup_for_team 

Source
pub async fn lineup_for_team<'e, E>(
    ex: E,
    slate_id: SlateId,
    team_id: FantasyTeamId,
) -> Result<Option<(EntryId, Option<Lineup>)>, Error>
where E: Executor<'e, Database = Sqlite> + Copy,
Expand description

The team’s committed entry in a slate: its id and its lineup. The lineup is None when the stored slots don’t parse (corrupt or incomplete), which still marks the entry as existing.