lemmy/crates/db_schema/src/aggregates
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
..
comment_aggregates.rs Make all single-fetch database calls return an Option. (#4617) 2024-04-16 14:48:15 +02:00
community_aggregates.rs Make all single-fetch database calls return an Option. (#4617) 2024-04-16 14:48:15 +02:00
mod.rs Showing # of unread comments for posts. Fixes #2134 (#2393) 2022-09-27 16:45:46 +00:00
person_aggregates.rs Make all single-fetch database calls return an Option. (#4617) 2024-04-16 14:48:15 +02:00
person_post_aggregates.rs Make all single-fetch database calls return an Option. (#4617) 2024-04-16 14:48:15 +02:00
post_aggregates.rs Make all single-fetch database calls return an Option. (#4617) 2024-04-16 14:48:15 +02:00
site_aggregates.rs Make all single-fetch database calls return an Option. (#4617) 2024-04-16 14:48:15 +02:00
structs.rs Make SiteAggregates derive Copy and Hash (#4501) 2024-03-05 11:14:12 +01:00