Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/export #8

Merged
merged 21 commits into from
Jul 14, 2023
Prev Previous commit
Next Next commit
match
  • Loading branch information
yplog committed Jul 11, 2023
commit c8cb031ed00a75cf2b44c0477d213dcf645ab122
7 changes: 6 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,12 @@ fn main() {

let todos = TodoRepository::find_all(&mut connection, filter);

println!("{:?}", todos);
match todos {
Err(e) => println!("{:?}", e),
Ok(result) => {
println!("{:?}", result);
}
}
}
}
}