Function create

Source
pub async fn create(
    db: &Surreal<Client>,
    register: Register,
) -> Result<Option<Account>>