lemmy/crates/db_schema/src/impls
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
..
activity.rs Make all single-fetch database calls return an Option. (#4617) 2024-04-16 14:48:15 +02:00
actor_language.rs Convert all Result<..., LemmyError> into LemmyResult<...> Fixes #4613 (#4614) 2024-04-10 10:14:11 -04:00
captcha_answer.rs Fixing some clippy and woodpecker lints. (#4565) 2024-03-26 10:17:42 +01:00
comment.rs Make all single-fetch database calls return an Option. (#4617) 2024-04-16 14:48:15 +02:00
comment_reply.rs Make all single-fetch database calls return an Option. (#4617) 2024-04-16 14:48:15 +02:00
comment_report.rs Auto resolve reports on removing a comment or post. Fixes #4390 (#4402) 2024-02-15 08:52:04 -05:00
community.rs Make all single-fetch database calls return an Option. (#4617) 2024-04-16 14:48:15 +02:00
community_block.rs Remove id column and use different primary key on some tables (#4093) 2023-11-13 08:14:07 -05:00
custom_emoji.rs Make functions work with both connection and pool (#3420) 2023-07-11 09:09:59 -04:00
email_verification.rs Make all single-fetch database calls return an Option. (#4617) 2024-04-16 14:48:15 +02:00
federation_allowlist.rs Fixing some clippy and woodpecker lints. (#4565) 2024-03-26 10:17:42 +01:00
federation_blocklist.rs Make functions work with both connection and pool (#3420) 2023-07-11 09:09:59 -04:00
federation_queue_state.rs add federation queue state to get_federated_instances api (#4104) 2023-11-06 16:07:04 -05:00
images.rs When uploading new icon/avatar/banner, delete old one (#4573) 2024-03-27 09:00:52 -04:00
instance.rs Make all single-fetch database calls return an Option. (#4617) 2024-04-16 14:48:15 +02:00
instance_block.rs Remove id column and use different primary key on some tables (#4093) 2023-11-13 08:14:07 -05:00
language.rs Make all single-fetch database calls return an Option. (#4617) 2024-04-16 14:48:15 +02:00
local_site.rs Make all single-fetch database calls return an Option. (#4617) 2024-04-16 14:48:15 +02:00
local_site_rate_limit.rs Make all single-fetch database calls return an Option. (#4617) 2024-04-16 14:48:15 +02:00
local_site_url_blocklist.rs Add a blocklist for URLs. (#4515) 2024-03-15 07:03:29 -04:00
local_user.rs On registration, automatically set content languages from accept-language header (#4550) 2024-03-25 16:02:12 -04:00
local_user_vote_display_mode.rs Make all single-fetch database calls return an Option. (#4617) 2024-04-16 14:48:15 +02:00
login_token.rs Remove id column and use different primary key on some tables (#4093) 2023-11-13 08:14:07 -05:00
mod.rs Add a blocklist for URLs. (#4515) 2024-03-15 07:03:29 -04:00
moderator.rs Make all single-fetch database calls return an Option. (#4617) 2024-04-16 14:48:15 +02:00
password_reset_request.rs Make all single-fetch database calls return an Option. (#4617) 2024-04-16 14:48:15 +02:00
person.rs Make all single-fetch database calls return an Option. (#4617) 2024-04-16 14:48:15 +02:00
person_block.rs Remove id column and use different primary key on some tables (#4093) 2023-11-13 08:14:07 -05:00
person_mention.rs Make all single-fetch database calls return an Option. (#4617) 2024-04-16 14:48:15 +02:00
post.rs Make all single-fetch database calls return an Option. (#4617) 2024-04-16 14:48:15 +02:00
post_report.rs Fixing some clippy and woodpecker lints. (#4565) 2024-03-26 10:17:42 +01:00
private_message.rs Make all single-fetch database calls return an Option. (#4617) 2024-04-16 14:48:15 +02:00
private_message_report.rs Auto resolve reports on removing a comment or post. Fixes #4390 (#4402) 2024-02-15 08:52:04 -05:00
registration_application.rs Make all single-fetch database calls return an Option. (#4617) 2024-04-16 14:48:15 +02:00
secret.rs Make all single-fetch database calls return an Option. (#4617) 2024-04-16 14:48:15 +02:00
site.rs Make all single-fetch database calls return an Option. (#4617) 2024-04-16 14:48:15 +02:00
tagline.rs Make functions work with both connection and pool (#3420) 2023-07-11 09:09:59 -04:00