Uploaded image for project: 'PHP Driver: Library'
  1. PHP Driver: Library
  2. PHPLIB-336

Collection::createIndex() passes session option in index specification

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.3.1
    • Affects Version/s: 1.3.0
    • Component/s: None
    • None

      Collection::createIndex() is unique in that it takes the index specification alongside operation options. When PHPLIB-302 introduced the session option, it neglected to add it to the logic in the helper method that splits the singular options array into the index specification and operation options.

            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: