Cannot use Hint for this Query. Index is multi key index , partial index or sparse index and query is not optimized to use this index.
Anyone have workaround? Do you know if that will be fixed in future?
Hey
@568552242618171441, this issue has been addressed, and should be available in the next release. PR here:
https://github.com/payloadcms/payload/pull/3997Perfect
is it included in payload 2.2 ? I still have the same problem after update
have you added
disableIndexHints: true
to your mongoose adapter config?
thanks man that was the solution
awesome 👍🏽
Star
Discord
online
Get dedicated engineering support directly from the Payload team.