prismix
prismix copied to clipboard
Preview feature "filteredRelationCount" doesn't work
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.
I have the same problem