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

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Trivial - P5 Trivial - P5
    • 2.1.0
    • Affects Version/s: None
    • Component/s: JavaScript
    • Labels:
      None
    • Major Change

      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(#, #)}

      )

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

              Created:
              Updated:
              Resolved: