Skip to content

hint() does not support strings? #77

@nainy

Description

@nainy

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions