add support for new ObjectId(Date|Number)

XMLWordPrintableJSON

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

      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
            Reporter:
            Yorkie Neil
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: