mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-03-01 11:19:52 +03:00
[PR #314] [MERGED] Rewrite find_by_user_uuid to use one query #2675
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 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:
master← Head:find_by_user_uuid📝 Commits (1)
8451a70Rewrite 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.