Prisma defaults to this syntax: tablename. The fieldsargument is the only required argument on this list. The nameargument allows you to set a name for an index being defined map. This argument is essential for these types, especially for cases where the full value would exceed MySQL’s limits for index sizes sort.

14m read timeFrom blog.logrocket.com
Post cover image
Table of contents
What are database indexes?Over 200k developers use LogRocket to create better digital experiencesImportance of database indexesWhat is Prisma?Configuring indexes in PrismaSummary
1 Comment

Sort: