promised-mongo
promised-mongo copied to clipboard
Specify hint to a cursor
How can I specify an index hint with a find
?
I tried find(query).hint(index)
bit it doesn't work.
Thanks!
How can I specify an index hint with a find
?
I tried find(query).hint(index)
bit it doesn't work.
Thanks!