Skip to main content

find_by_id

Function find_by_id 

Source
pub async fn find_by_id<'e, E>(ex: E, id: i64) -> Result<Option<User>, Error>
where E: Executor<'e, Database = Sqlite>,