Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-13038

Update mongo shell NumberLong examples in extendedJsonv1 page

      Description

      If unquoted number, the number passed to NumberLong must be representable as an int64_t

      > db.json.insert( { longUnQuoted : NumberLong(922337203685477580) } )
      WriteResult({ "nInserted" : 1 })
      
      > db.json.insert( { longUnQuoted : NumberLong(9223372036854775807) } )
      2019-09-18T13:15:33.613-0400 E QUERY    [js] Error: number passed to NumberLong must be representable as an int64_t :
      

      Scope of changes

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

            Assignee:
            Unassigned Unassigned
            Reporter:
            kay.kim@mongodb.com Kay Kim (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              1 year, 24 weeks, 2 days ago