Join Slack
Powered by
Is there any good Postgres Prisma BRIN examples ar...
# orm-help
n
Nathan Froese
06/21/2022, 10:01 PM
Is there any good Postgres Prisma BRIN examples around anyone can recommend? Iβm looking to implementing it for time scheduling
β 1
h
Harsh Singh
06/22/2022, 2:56 AM
Hey Nathan π I love BRIN indexes too. They're a really amazing PostgreSQL feature
party postgres
. To implement them in Prisma, I'd suggest taking a look at this example:
https://www.prisma.io/docs/concepts/components/prisma-schema/indexes#block-range-index-brin
n
Nathan Froese
06/22/2022, 4:14 AM
Hey Harsh. I was thinking more in github repo examples
h
Harsh Singh
06/22/2022, 6:22 AM
Oh, alright. Here's one I found on GitHub:
https://github.com/marek-hanzal/puff-smith/blob/main/prisma/schema.prisma
π 1
n
Nurul
06/22/2022, 12:05 PM
Hey Nathan π Thanks for pointing this out, we donβt have indexes examples in our official
prisma-examples
repository, I have added an issue
#3867
to add examples of using indexes that we support.
π 1
2
Views
Open in Slack
Previous
Next