Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-663

Add multi field sort example to documentation

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.7
    • Affects Version/s: 2.6.3
    • Component/s: 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:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Reporter:
            ger.hartnett@mongodb.com Ger Hartnett
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: