Consolidate CommandResult and QueryResult classes

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • 0.1.5
    • Affects Version/s: 0.1.4
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      • CommandResult will now get a setTypemap() method
      • CommandResult::getResponseDocument() now becomes common to the Result class and is renamed to toArray(). Document this as pure syntactic sugar for iterator_to_array($this). For commands, this means the singular result document is now the lone element in a numeric array (where it was previously returned unwrapped).

              Assignee:
              Hannes Magnusson (Inactive)
              Reporter:
              Jeremy Mikola
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: