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

Handle MongoDB\BSON\Serializable $out argument for Collection::mapReduce()

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.3.0
    • Affects Version/s: 1.2.0
    • Component/s: None
    • None

      Collection::mapReduce() checks if the $out argument indicates inline output by examining the first key of the object/array. It would be helpful if it also supported MongoDB\BSON\Serializable objects, as is_first_key_operator() does.

            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: