Clearly document the differences between AsyncIOMotorCommandCursor and AsyncIOMotorCursor

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Docs
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Hello Mongo team !

      It's seems it's impossible to pass index hint using motor asyncio:

      ```

      cursor = mongo.db[self.factory.config.mongo_collection].aggregate(mongo_query).hint({"internal_id": 1, "timestamp": -1})
      AttributeError: 'AsyncIOMotorLatentCommandCursor' object has no attribute 'hint'

      ```

       

      According to the documentation, it should be available....

       

      Thanks in advance,

      Regards, Adam.

              Assignee:
              Unassigned
              Reporter:
              Adam Adam
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: