Created
April 13, 2011 15:51
-
-
Save chadoh/917800 to your computer and use it in GitHub Desktop.
mongo.cloudfoundry.com has some typos
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
MongoDB browser shell version: 0.1.3 | |
connecting to random database | |
type "contest" to learn how to enter to win a MongoDB mug or backpack! | |
type "tutorial" to start the MongoDB tutorial | |
> contest | |
10gen is giving away MongoDB mugs and backpacks. | |
To enter the giveaway, simply save your contact information to the | |
'info' collection. For example, to save your name and email address, you'd enter: | |
db.info.save({name: "Meghan", email: "meghan@10gen.com"}) | |
You can then query the collection to make sure your data was saved: | |
db.info.find() | |
"name" : "Meghan", | |
"email" : "meghan@10gen.com" } | |
Winners will be notified in the coming weeks. | |
> db.info.save({name: "Chad Ostrowski", email: "stuff", twitter: "@chadoh"}) | |
"ok" | |
> db.info.find() | |
[ | |
{ "_id" : { "$oid" : "4da5c5bab3dc556ff1000003" }, "name" : "Chad Ostrowski", "twitter" : "@chadoh", "email" : "stuff" } | |
] | |
> db.info.find({"name" : "Chad Ostrowski"}) | |
[ | |
{ "_id" : { "$oid" : "4da5c5bab3dc556ff1000003" }, "name" : "Chad Ostrowski", "twitter" : "@chadoh", "email" : "stuff" } | |
] |
Also, the page has some unnecessary right-left scrolling caused by the MongoDB icon. It's width is being set to 960px, setting it to 185px fixes it.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Line 16 has an unbalanced closing bracket.