server
server copied to clipboard
Add batch methods in user backends
This allows for faster group search with significantly less DB traffic
Splited from #32201 for easier review
Possible performance regression detected
Show Output
2 queries added
= /remote.php/dav/files/test
= /remote.php/dav/files/test/test.txt
≠ /remote.php/dav/files/test/many_files with 1 queries added
+ UPDATE "oc_preferences" SET "configvalue" = :dcValue1 WHERE ("userid" = :dcValue2) AND ("appid" = :dcValue3) AND ("configkey" = :dcValue4)
≠ /remote.php/dav/files/test/new_file.txt with 1 queries added
+ UPDATE "oc_preferences" SET "configvalue" = :dcValue1 WHERE ("userid" = :dcValue2) AND ("appid" = :dcValue3) AND ("configkey" = :dcValue4)
= /remote.php/dav/files/test/new_file.txt
Failing tests are related
Discussed this internally, should be moved to a new interface.
Discussed this internally, should be moved to a new interface.
Added the interface, rebased, fixed tests and psalm reports.