Uploaded image for project: 'PHP Driver: Extension'
  1. PHP Driver: Extension
  2. PHPC-2094

Relay command comment when constructing a cursor

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 1.14.0-beta1, 1.14.0
    • Affects Version/s: None
    • Component/s: None
    • None

      When a MongoDB\Driver\Command is created with a comment option in the command document, that option must be relayed to to mongoc_cursor_new_from_command_reply_with_opts from within phongo_execute_command (as is currently done for cursor.batchSize). This ensures that libmongoc can attach the comment to subsequent getMore operations for commands that yield a cursor (e.g. aggregate, listCollections).

            Assignee:
            jmikola@mongodb.com Jeremy Mikola
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: