refactor(server): bulk interface (#10889)

This commit is contained in:
Jason Rasmussen 2024-07-05 14:58:34 -04:00 committed by GitHub
parent ac8d8d91f7
commit cf88f4b6f8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 21 additions and 36 deletions

View file

@ -585,14 +585,6 @@ WHERE
"albums_assets"."albumsId" = $1
AND "albums_assets"."assetsId" IN ($2)
-- AlbumRepository.getAssetIds (no assets)
SELECT
"albums_assets"."assetsId" AS "assetId"
FROM
"albums_assets_assets" "albums_assets"
WHERE
"albums_assets"."albumsId" = $1
-- AlbumRepository.hasAsset
SELECT
1 AS "row_exists"