lemmy/crates/db_schema/src
dullbananas 9a5a13c734
Use same table join code for both read and list functions (#3663)
* Try stuff

* Revert "Try stuff"

This reverts commit 3da5f83a8b.

* Revert "Revert "Try stuff""

This reverts commit 178bd43cac.

* Revert "Revert "Revert "Try stuff"""

This reverts commit b9f9a2316e.

* Revert "Revert "Revert "Revert "Try stuff""""

This reverts commit ccd498dd72.

* Try more stuff

* Add queries function

* Simplify queries function

* Move aliases to db_schema

* Revert "Move aliases to db_schema"

This reverts commit 69afed05c1.

* Add ReadFuture and ListFuture

* Refactor queries function and add Queries struct

* Box futures in Queries::new

* Use from_tuple

* Add comment_view::queries and improve comment_report_view::queries

* Add local_user_view::queries

* Add post_report_view::queries

* Ad post_view::queries

* Add private_message_report_view::queries

* private_message_view, registration_application_view

* Use 'a in BoxedQuery

* comment_reply_view, community_view

* Change aliases to inline module

* person_mention_view

* person_view

* Use separate community_person_ban joins instead of including boolean literal in join-on clause

* Fix comment_view

* rerun ci
2023-07-28 10:36:50 +02:00
..
aggregates remove n^2 part of person triggers, improve community aggregate trigger (#3739) 2023-07-27 23:36:51 +02:00
impls Omit local instance from federated instances list (#3712) 2023-07-27 12:12:18 +02:00
source UI Settings - Blur NSFW & Auto Expand (#3377) 2023-07-26 07:53:45 -04:00
diesel_ltree.patch feat: re-added captcha checks (#3289) 2023-06-27 06:38:53 -04:00
lib.rs Use same table join code for both read and list functions (#3663) 2023-07-28 10:36:50 +02:00
newtypes.rs Adding comments to all API related types. Fixes #2846 (#2848) 2023-05-10 21:20:39 +02:00
schema.rs Add controversial ranking (#3205) 2023-07-26 13:07:05 -04:00
traits.rs Make functions work with both connection and pool (#3420) 2023-07-11 09:09:59 -04:00
utils.rs Use same table join code for both read and list functions (#3663) 2023-07-28 10:36:50 +02:00