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

add support for new ObjectId(Date|Number)

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.7.2
    • Affects Version/s: None
    • Component/s: Admin, Shell

      see https://github.com/marcello3d/node-buffalo/pull/11, please.
      Then could u check the following shell scripts:

      var timespan = Date.now() - 10*60*60*1000;
      db.myColl.find({_id: {'$gt': timespan}}).count();

      I would get the latest 10 hours records from their insertion date, It's useful.

            Assignee:
            benety.goh@mongodb.com Benety Goh
            Reporter:
            yorkie Yorkie Neil
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: