v8.0.0-rc.16-dev.9: Use sort(field, direction) for MongoDB PSL indexes (#30636)
- Prisma: 219 events in the last 90 days
- Prisma: 219th Release in the last 90 days
- Previous: earlier the same day · v8.0.0-rc.16-dev.8
What happened
Replaces MongoDB PSL field(sort: Asc | Desc) with sort(field, Asc | Desc) , preserving existing index behavior. Changes Use a single sort function in @@index , @@unique , and @@textIndex , with model-aware field validation and completion. Preserve the context required by nested function arguments in the shared PSL attribute framework. Update regression tests, documentation, example schemas, and example migration sna…
Summary assembled by rule from the sources below