We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It seems like this is indeed the case, unless I'm missing something. https://docs.mongodb.com/manual/reference/method/cursor.hint/#cursor.hint
According to mongodb documentation ^ , it is possible to pass a string (index name) to the hint() method.
Would really love this to be implemented, to be honest.
The text was updated successfully, but these errors were encountered:
I can't reproduce this issue. Just add test case for hint in #108. If the string is not a valid index name, it will be rejected.
The index name looks like age_1 or age_-1 Make sure you have created the index prior to the query. Otherwise it will be rejected.
age_1
age_-1
Sorry, something went wrong.
No branches or pull requests
It seems like this is indeed the case, unless I'm missing something.
https://docs.mongodb.com/manual/reference/method/cursor.hint/#cursor.hint
According to mongodb documentation ^ , it is possible to pass a string (index name) to the hint() method.
Would really love this to be implemented, to be honest.
The text was updated successfully, but these errors were encountered: