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

add support for new ObjectId(Date|Number)

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7.2
    • Component/s: Admin, Shell
    • Labels:

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: