summaryrefslogtreecommitdiffstats
path: root/lib/private/Files/Cache/CacheQueryBuilder.php
Commit message (Collapse)AuthorAgeFilesLines
* Search without join on filecache_extendedCarl Schwan2022-06-231-4/+8
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* store unencrypted size in the unencrypted_size columnRobin Appelman2022-06-021-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Files: Extend search to also cover tagsMarcel Klehr2022-05-171-1/+1
| | | | | | fixes #326 Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* Migrate from ILogger to LoggerInterface in lib/privateCôme Chilliet2022-03-241-2/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Move query outside the loop and reduce chunk size to 1000Sijmen Schoon2021-10-171-2/+2
| | | | | | | This involved changing CacheQueryBuilder\whereParentIn to take a parameter name, renaming the function accordingly. Signed-off-by: Sijmen Schoon <me@sijmenschoon.nl>
* rework search api to allow searching on multiple caches at onceRobin Appelman2021-06-141-6/+3
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-2/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Make Cache::removeChildren non recursiveRobin Appelman2020-08-201-0/+13
| | | | | | | | | | | | Currently the "add new files during scanning" call stack is smaller than the "remove deleted files during scanning" call stack. This can lead to the scanner adding folders in the folder tree that are to deep to be removed. This changes the `removeChildren` logic to be non recursive so there is no limit to the depth of the folder tree during removal Signed-off-by: Robin Appelman <robin@icewind.nl>
* Update license headersChristoph Wurst2019-12-051-2/+7
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* store filecache extension fieldsRobin Appelman2019-11-131-6/+25
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* move more cache logic to querybuilderRobin Appelman2019-11-131-0/+73
Signed-off-by: Robin Appelman <robin@icewind.nl>