Skip to content

Instantly share code, notes, and snippets.

@smallfield
Created August 1, 2013 15:34
Show Gist options
  • Save smallfield/6132509 to your computer and use it in GitHub Desktop.
Save smallfield/6132509 to your computer and use it in GitHub Desktop.
db.release.find().forEach(function(doc){ doc.date = new Date(doc.date);db.release.save(doc); })
@smallfield
Copy link
Author

db.releases.find().forEach(function(doc){ doc.date = new Date(doc.date);db.releases.save(doc); })

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment