Add multi field sort example to documentation

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Minor - P4
    • 2.7
    • Affects Version/s: 2.6.3
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The documentation doesn't seem to have multi-field sort example code. This would be very helpful.

      For example: ".sort([("field1",pymongo.ASCENDING), ("field2",pymongo.DESCENDING)])"

              Assignee:
              A. Jesse Jiryu Davis
              Reporter:
              Ger Hartnett
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: