Postgresql – How to filter a prisma association to have only 1 association on a 1 to many
I have a DB with posts and tags. I want to find posts that only contain 1 tag with a specific tagId and no other tags at all. The code below works, but it requires the server to filter the…