prismix icon indicating copy to clipboard operation
prismix copied to clipboard

Preview feature "filteredRelationCount" doesn't work

Open KopfSzmercen opened this issue 2 years ago • 1 comments

Hi, When I added a preview feature "filteredRelationCount" to my base.prisma like this

generator client {
    provider        = "prisma-client-js"
    previewFeatures = ["fullTextSearch", "filteredRelationCount"]
}

datasource db {
    provider = "postgresql"
    url      = env("DATABASE_URL")
}

schema.prisma file does not contain the generator client declaration. I had to paste the generator client declaration into my schema.prisma file and then run npx prisma:generate for this to work.

KopfSzmercen avatar Oct 10 '22 13:10 KopfSzmercen

I have the same problem

Packman700 avatar Nov 11 '22 12:11 Packman700