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

XMLWordPrintableJSON

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

      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 Girbal (Inactive)
              Reporter:
              Scott Hernandez (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: