Optimize cleanup job by CarlSchwan · Pull Request #8421 · nextcloud/text
Do that in one query instead of ending up doing N+1 queries. Signed-off-by: Carl Schwan <carlschwan@kde.org>
Decrease time to execute the query from 10s of seconds to a few miliseconds. Signed-off-by: Carl Schwan <carlschwan@kde.org>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters