Skip to main content

by_contest

Function by_contest 

Source
pub async fn by_contest<'e, E>(
    ex: E,
    slate_id: SlateId,
    league_id: i64,
) -> Result<Vec<ContestEntry>, EntriesError>
where E: Executor<'e, Database = Sqlite> + Copy,
Expand description

One contest’s entries within one league: each entering fantasy team with its total lineup. Fantasy teams without an entry in this contest do not appear. Row order is by fantasy team id; callers sort for display.