0

My find_and_modify query is using the wrong index.

Is there a way, using PyMongo, to hint the correct index (by name or otherwise)?

Nothing seems to mention this at all in any docs...

Jordan Warbelow-Feldstein
  • 10,510
  • 12
  • 48
  • 79

1 Answers1

1

According to SERVER-7105, using $hint with FindAnyModify isn't supported.

Posted originally by JohnnyHK

Community
  • 1
  • 1
Jordan Warbelow-Feldstein
  • 10,510
  • 12
  • 48
  • 79