Skip to content

feat(trashbin): Implement ITrashBackend::getTrashRootsForUser#3913

Open
CarlSchwan wants to merge 2 commits intomasterfrom
get-list-of-trash-root
Open

feat(trashbin): Implement ITrashBackend::getTrashRootsForUser#3913
CarlSchwan wants to merge 2 commits intomasterfrom
get-list-of-trash-root

Conversation

@CarlSchwan
Copy link
Member

Signed-off-by: Carl Schwan <carl.schwan@nextclound.com>
$qb->select('fileid', 'storage')
->from('filecache')
->hintShardKey('storage', $folder->storageId)
->where($qb->expr()->eq('path_hash', $qb->createNamedParameter(md5('__groupfolders/trash/' . $folder->id))));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if this actually works with the new storage layout.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, I need to test that with the new code

Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com>
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Items that need to be reviewed performance 🚀

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants