ObjectId() does not accept integer argument

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 0.15.5
    • Affects Version/s: None
    • Component/s: Shell API
    • Iteration Firenze
    • Needed
    • Hide

      The mongosh ObjectId global now matches the BSON global in that it can also accept an integer argument (unix timestamp in seconds).

      Show
      The mongosh ObjectId global now matches the BSON global in that it can also accept an integer argument (unix timestamp in seconds).

      The BSON ObjectId class takes an integer unix timestamp argument, we should do so as well.

            Assignee:
            Anna Henningsen
            Reporter:
            Anna Henningsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: