Uploaded image for project: 'Motor'
  1. Motor
  2. MOTOR-560

Clearly document the differences between AsyncIOMotorCommandCursor and AsyncIOMotorCursor

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Docs
    • 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 Unassigned
            Reporter:
            acecile@le-vert.net Adam Adam
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: