Skip to content

Instantly share code, notes, and snippets.

@zygm0nt
Created June 14, 2012 07:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zygm0nt/2928862 to your computer and use it in GitHub Desktop.
Save zygm0nt/2928862 to your computer and use it in GitHub Desktop.
mongo search object
> db.items.find({_id:ObjectId("4f7f4ae4251735803a942b2c")}).pretty()
{
"_id" : ObjectId("4f7f4ae4251735803a942b2c"),
"category" : "",
"title" : "sample title",
"permalink" : "http://",
"source" : "s",
"description" : "Sample Description",
"image" : "http://",
"modificationDate" : ISODate("2012-04-06T19:58:28.448Z"),
"date" : "Fri, 06 Apr 2012 18:02:00 GMT"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment