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

* Revert "Try stuff"

This reverts commit 3da5f83a8b4928368bf58e0061091c270259a226.

* Revert "Revert "Try stuff""

This reverts commit 178bd43cac8c7674d30d2c285ed47ca0493ad659.

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

This reverts commit b9f9a2316e7cd37082319608c606a1c7db057206.

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

This reverts commit ccd498dd7228050ae05d2022e9106034fd4132f8.

* Try more stuff

* Add queries function

* Simplify queries function

* Move aliases to db_schema

* Revert "Move aliases to db_schema"

This reverts commit 69afed05c1807c3fef8d5b5872546fa22e60b4d0.

* 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
..
comment_reply_view.rs Use same table join code for both read and list functions (#3663) 2023-07-28 10:36:50 +02:00
community_block_view.rs Make functions work with both connection and pool (#3420) 2023-07-11 09:09:59 -04:00
community_follower_view.rs Make functions work with both connection and pool (#3420) 2023-07-11 09:09:59 -04:00
community_moderator_view.rs Make functions work with both connection and pool (#3420) 2023-07-11 09:09:59 -04:00
community_person_ban_view.rs Make functions work with both connection and pool (#3420) 2023-07-11 09:09:59 -04:00
community_view.rs Use same table join code for both read and list functions (#3663) 2023-07-28 10:36:50 +02:00
lib.rs First pass at adding comment trees. (#2362) 2022-07-30 05:55:59 +02:00
person_block_view.rs Make functions work with both connection and pool (#3420) 2023-07-11 09:09:59 -04:00
person_mention_view.rs Use same table join code for both read and list functions (#3663) 2023-07-28 10:36:50 +02:00
person_view.rs Use same table join code for both read and list functions (#3663) 2023-07-28 10:36:50 +02:00
structs.rs Add controversial ranking (#3205) 2023-07-26 13:07:05 -04:00