lemmy/crates/api_crud/src/site
Dessalines d075acce43
Make all single-fetch database calls return an Option. (#4617)
- Diesel ordinarily throws an error when no results are returned for a
  single fetch, which is a bit confusing. This PR ensures that the
  missing value cases are all caught, and wrapped with new LemmyErrors,
  rather than diesel errors.
- Fixes #4601
2024-04-16 14:48:15 +02:00
..
create.rs Make all single-fetch database calls return an Option. (#4617) 2024-04-16 14:48:15 +02:00
mod.rs Fixing some clippy and woodpecker lints. (#4565) 2024-03-26 10:17:42 +01:00
read.rs Make all single-fetch database calls return an Option. (#4617) 2024-04-16 14:48:15 +02:00
update.rs Make all single-fetch database calls return an Option. (#4617) 2024-04-16 14:48:15 +02:00