SHARE
TWEET

Untitled

a guest Jun 26th, 2019 85 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {
  2.     "_id" : ObjectId("5cc07ea943eeba155840b62f"),
  3.     "name" : "test3",
  4.     "value" : 3,
  5.     "created_at" : {
  6.         "$date" : 1556119209477
  7.     },
  8.     "updatedAt" : {
  9.         "$date" : 1556119209477
  10.     },
  11.     "__v" : 0
  12. }
  13.      
  14. Item.find({"created_at":{$lt:new Date(Date.now() - keys.anAmountOfMilliseconds)}}, (err, foundItems) => {
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top