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

special types in shell (e.g. Timestamp) display in variety of ways, and can confuse users

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Trivial - P5 Trivial - P5
    • 2.1.0
    • None
    • JavaScript
    • None
    • Major Change

    Description

      The way a timestamp prints in the shell is misleading and makes it look like an embedded doc which is not true.

      If currently prints as: {ts:{t:#, i:#}}

      But you cannot do this: find(

      {"ts.t": #}

      ) or this: find({ts: {t:#, i:#}}) ; you must do this find(

      {ts: new Timestamp(#, #)}

      )

      Attachments

        Activity

          People

            antoine Antoine Girbal
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: