[PR #314] [MERGED] Rewrite find_by_user_uuid to use one query #2675

Closed
opened 2026-02-05 04:52:49 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dani-garcia/vaultwarden/pull/314
Author: @mprasil
Created: 12/27/2018
Status: Merged
Merged: 12/28/2018
Merged by: @dani-garcia

Base: masterHead: find_by_user_uuid


📝 Commits (1)

  • 8451a70 Rewrite find_by_user_uuid to use one query

📊 Changes

1 file changed (+20 additions, -19 deletions)

View changed files

📝 src/db/models/collection.rs (+20 -19)

📄 Description

As suggested in #313, I've rewrote the function to avoid duplicates by using just one query.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/dani-garcia/vaultwarden/pull/314 **Author:** [@mprasil](https://github.com/mprasil) **Created:** 12/27/2018 **Status:** ✅ Merged **Merged:** 12/28/2018 **Merged by:** [@dani-garcia](https://github.com/dani-garcia) **Base:** `master` ← **Head:** `find_by_user_uuid` --- ### 📝 Commits (1) - [`8451a70`](https://github.com/dani-garcia/vaultwarden/commit/8451a70de6a074aede729f90f983d2429506d8ba) Rewrite find_by_user_uuid to use one query ### 📊 Changes **1 file changed** (+20 additions, -19 deletions) <details> <summary>View changed files</summary> 📝 `src/db/models/collection.rs` (+20 -19) </details> ### 📄 Description As suggested in #313, I've rewrote the function to avoid duplicates by using just one query. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 04:52:49 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/vaultwarden#2675