lemmy/crates/db_schema/src
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
..
aggregates Make all single-fetch database calls return an Option. (#4617) 2024-04-16 14:48:15 +02:00
impls Make all single-fetch database calls return an Option. (#4617) 2024-04-16 14:48:15 +02:00
source Avoid breaking api change, reduce api cache duration (#4610) 2024-04-09 10:10:20 -04:00
diesel_ltree.patch Adding a post_view mode. Fixes #3730 (#3731) 2023-08-31 09:01:08 -04:00
lib.rs Add site.content_warning, local_site.default_post_listing_mode (#4393) 2024-02-16 07:24:35 -05:00
newtypes.rs Move DbUrl trait impls to newtypes.rs (#4463) 2024-02-19 12:41:28 -05:00
schema.rs Add a blocklist for URLs. (#4515) 2024-03-15 07:03:29 -04:00
traits.rs Make all single-fetch database calls return an Option. (#4617) 2024-04-16 14:48:15 +02:00
utils.rs Make all single-fetch database calls return an Option. (#4617) 2024-04-16 14:48:15 +02:00