Created
January 25, 2013 04:18
-
-
Save joet3ch/4631702 to your computer and use it in GitHub Desktop.
New ObjectId using Mongoose
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ObjectId = require("mongoose").Types.ObjectId | |
new ObjectId('xxxx') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment