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

NumberLong(1) should work

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 1.8.5
    • 1.6.5
    • JavaScript
    • None

    Description

      Or it should assert. Currently it just fails silently

      > printjson(NumberLong(1))
      undefined
      > printjson(new NumberLong(1))
      NumberLong( 1 )

      Attachments

        Activity

          People

            Unassigned Unassigned
            mathias@mongodb.com Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: