prisma / prisma-examples

🚀 Ready-to-run Prisma example projects
https://www.prisma.io/docs/
Apache License 2.0
6.14k stars 1.43k forks source link

Add Examples of using indexes add through `extendedIndexes` feature #3867

Closed nurul3101 closed 1 year ago

nurul3101 commented 2 years ago

Examples on how to use indexes should be helpful: https://www.prisma.io/docs/concepts/components/prisma-schema/indexes

janpio commented 2 years ago

The examples here are usually to show different frameworks and applications, not different parts of the schema. That is usually just documented in the docs.

The problem is the complexity of the possibilities (all the relations, all the types, all the combinations...) which would make it either hard to a) put it all in one project or b) create different proejcts for each of those cases without ending up with dozens or hundreds of them.

Is there something concrete about the extended indexes that is unclear?

nurul3101 commented 2 years ago

Yes, it makes sense 👍 Some users were asking for official GitHub repositories which would demonstrate using Gist, Gin, SpGist and BRIN types of indexes.

ruheni commented 1 year ago

Closing this issue since we don't intend to add this to the examples.