Skip to content

Instantly share code, notes, and snippets.

@umit
Created May 13, 2012 09:45
Show Gist options
  • Save umit/2687228 to your computer and use it in GitHub Desktop.
Save umit/2687228 to your computer and use it in GitHub Desktop.
MongoDB Örnek Data
> db.product.find().pretty()
{
"_id" : ObjectId("4faec33dd57e4ace158b7e9f"),
"type" : "Shirt",
"color" : "Green",
"sizes" : {
"L" : 2,
"XL" : 3,
"XXL" : 4
},
"price" : 10
}
{
"_id" : ObjectId("4faec64bd57e4ace158b7ea0"),
"type" : "Shirt",
"color" : "Red",
"sizes" : {
"L" : 5,
"XL" : 4,
"XXL" : 4
},
"price" : 15
}
{
"_id" : ObjectId("4faec65ad57e4ace158b7ea1"),
"type" : "Shirt",
"color" : "Yellow",
"sizes" : {
"L" : 1,
"XL" : 3,
"XXL" : 4
},
"price" : 25
}
{
"_id" : ObjectId("4faf8768d001a2b51cf047a0"),
"type" : "Sweat Shirt",
"color" : "Black",
"sizes" : {
"L" : 1,
"XL" : 3,
"XXL" : 4
},
"price" : 20
}
{
"_id" : ObjectId("4faf877ad001a2b51cf047a1"),
"type" : "Sweat Shirt",
"color" : "Blue",
"sizes" : {
"L" : 1,
"XL" : 3,
"XXL" : 4
},
"price" : 50
}
{
"_id" : ObjectId("4faf878dd001a2b51cf047a2"),
"type" : "Sweat Shirt",
"color" : "Gray",
"sizes" : {
"L" : 1,
"XL" : 3,
"XXL" : 4
},
"price" : 25
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment