Payload is the open-source, fullstack Next.js framework, giving you instant backend superpowers. Get a full TypeScript backend and admin panel instantly. Use Payload as a headless CMS or for building powerful applications.
fix(db-mongodb): add ability to disable fallback sort and no longer adds a fallback for unique fields (#12961)
You can now disable fallback sort in the mongodb adapter by passing `disableFallbackSort: true` in the options. We also no longer add fallback sort to sorts on unique fields by default now. This came out of a discussion in this issue https://github.com/payloadcms/payload/issues/12690 and the linked PR https://github.com/payloadcms/payload/pull/12888 Closes https://github.com/payloadcms/payload/issues/12690
P
Paul committed
c902f14cb3fd2511d59c0932564b825308f5ce69
Parent: c66e5ca
Committed by GitHub <noreply@github.com>
on 6/27/2025, 1:45:30 PM