Skip to main content

for_user

Function for_user 

Source
pub async fn for_user<'e, E>(ex: E, user_id: i64) -> Result<Vec<League>, Error>
where E: Executor<'e, Database = Sqlite>,
Expand description

The leagues where user_id has a team, lowest id first. The first entry is the fallback active league in leagues::resolve.