1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-05 02:30:32 -05:00
bitwarden/src/Sql/dbo/Stored Procedures/Group_ReadWithCollectionsById.sql

17 lines
311 B
Transact-SQL

CREATE PROCEDURE [dbo].[Group_ReadWithCollectionsById]
@Id UNIQUEIDENTIFIER
AS
BEGIN
SET NOCOUNT ON
EXEC [dbo].[Group_ReadById] @Id
SELECT
[CollectionId] [Id],
[ReadOnly],
[HidePasswords]
FROM
[dbo].[CollectionGroup]
WHERE
[GroupId] = @Id
END