lemmy/crates/db_views/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
..
comment_report_view.rs Use same table join code for both read and list functions (#3663) 2023-07-28 10:36:50 +02:00
comment_view.rs Use same table join code for both read and list functions (#3663) 2023-07-28 10:36:50 +02:00
custom_emoji_view.rs Make functions work with both connection and pool (#3420) 2023-07-11 09:09:59 -04:00
lib.rs Add Custom Emojis Support (#2616) 2023-03-20 17:32:31 -04:00
local_user_view.rs Use same table join code for both read and list functions (#3663) 2023-07-28 10:36:50 +02:00
post_report_view.rs Use same table join code for both read and list functions (#3663) 2023-07-28 10:36:50 +02:00
post_view.rs Use same table join code for both read and list functions (#3663) 2023-07-28 10:36:50 +02:00
private_message_report_view.rs Use same table join code for both read and list functions (#3663) 2023-07-28 10:36:50 +02:00
private_message_view.rs Use same table join code for both read and list functions (#3663) 2023-07-28 10:36:50 +02:00
registration_application_view.rs Use same table join code for both read and list functions (#3663) 2023-07-28 10:36:50 +02:00
site_view.rs Make functions work with both connection and pool (#3420) 2023-07-11 09:09:59 -04:00
structs.rs Add controversial ranking (#3205) 2023-07-26 13:07:05 -04:00