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

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

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.9.0
    • Component/s: Shell
    • Labels:
      None

      Description

      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);

        Attachments

          Activity

            People

            Assignee:
            redbeard0531 Mathias Stearn
            Reporter:
            redbeard0531 Mathias Stearn
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: