Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-2811

lines ending in . should be treated the same as with an open (

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.9.0
    • Affects Version/s: None
    • Component/s: Shell
    • None

      Copying these lines into the shell should do the right thing:

      db.cities.find(

      {'_id.state': 'NY'}

      ).sort(

      {'value.pop':-1}

      ).
      limit(5).forEach(printjson);

            Assignee:
            mathias@mongodb.com Mathias Stearn
            Reporter:
            mathias@mongodb.com Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: