Rich Starkie
08/11/2022, 11:36 AMconst shelfContents = await prisma.libraryShelves.findUnique({
where: {
shelfId: id
},
include: {
shelfRelease: {
include: {
releaseArtists: true,
releaseRecordLabel: true,
releaseFormats: true,
releaseStyle: true,
releaseGenres: true,
releaseCurrentLocation: true,
}
},
},
});
every time I add a select: {} statement to any of the included tables, or even to libraryShelves under the where@{} the whole statement falls apart and just returns the clientversion information
can anyone please advise?Austin
08/11/2022, 6:46 PMinclude ’s with select ’s.Vladi Stevanovic