Skip to main content

create

Function create 

Source
pub async fn create<'e, E>(
    ex: E,
    email: &str,
    password_hash: &str,
    is_admin: bool,
) -> Result<User, Error>
where E: Executor<'e, Database = Sqlite>,