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 @mateusz_solecki, 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
@tylandavis
@mateusz_solecki have you added
disableIndexHints: true
to your mongoose adapter config?
Star
Discord
online
Get help straight from the Payload team with an Enterprise License.