]> BookStack Code Mirror - bookstack/commit
DB: Started update of entity loading to avoid global selects
authorDan Brown <redacted>
Sun, 4 Feb 2024 14:39:01 +0000 (14:39 +0000)
committerDan Brown <redacted>
Sun, 4 Feb 2024 14:39:36 +0000 (14:39 +0000)
commita70ed81908a8bcd67e6c449eb7d0cdd6f26ef998
treeaa011f4b8e5adc78dfce31ea61c13989d212072a
parent2460e7c56e4d0d8368cd37e09e68d25f24e705a3
DB: Started update of entity loading to avoid global selects

Removes page/chpater addSelect global query, to load book slug, and
instead extracts base queries to be managed in new static class, while
updating specific entitiy relation loading to use our more efficient
MixedEntityListLoader where appropriate.

Related to #4823
app/Activity/ActivityQueries.php
app/App/HomeController.php
app/Entities/Models/BookChild.php
app/Entities/Queries/EntityQuery.php
app/Entities/Queries/PageQueries.php [new file with mode: 0644]
app/Entities/Queries/RecentlyViewed.php
app/Entities/Queries/TopFavourites.php
app/Entities/Tools/MixedEntityListLoader.php
app/References/ReferenceFetcher.php
database/migrations/2024_02_04_141358_add_views_updated_index.php [new file with mode: 0644]
Morty Proxy This is a proxified and sanitized view of the page, visit original site.