lemmy/crates/db_schema
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
..
src Make all single-fetch database calls return an Option. (#4617) 2024-04-16 14:48:15 +02:00
Cargo.toml Cache result of LocalSite::read to avoid unnecessary db calls (#4585) 2024-04-03 17:38:31 -04:00