Skip to main content

by_id

Function by_id 

Source
pub async fn by_id<'e, E>(
    ex: E,
    id: EntryId,
) -> Result<Option<EntryDetails>, EntriesError>
where E: Executor<'e, Database = Sqlite> + Copy,
Expand description

One entry with the context its page needs: lineup, contest, league, and owning fantasy team. None for an unknown id.