v8.0.0-rc.16-dev.9: Use sort(field, direction) for MongoDB PSL indexes (#30636)
- Prisma 近 90 天出现 219 次
- Prisma 近 90 天第 219 次发版
- 上一次:同一天稍早 · v8.0.0-rc.16-dev.8
发生了什么
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…
摘要按规则整理自下方来源原文