1
0
mirror of https://github.com/bitwarden/server synced 2026-01-04 17:43:53 +00:00
Files
server/src/Sql/dbo/Stored Procedures/Group_ReadWithCollectionsById.sql
2017-05-11 11:41:13 -04:00

16 lines
286 B
Transact-SQL

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