MongoCursor returns the date variable as integer value

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Works as Designed
    • Priority: Blocker - P1
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      While Querying using MongoCursor the date field returned as integer variable. But when i use dbobject it seems to be return as perfect.

      MongoDB:

      When I query using the MongoCursor

      {"date" : { "$date" : 1468476847025 }}
      

      When I query using the DBCursor

      {"date" : { "$date" : "2016-07-23T15:02:12.728Z" }}
      

      The method getDB(String) from the type Mongo is deprecated

              Assignee:
              Ross Lawley
              Reporter:
              Vinoth Kumar
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: