Viewers: in countries Watching now:
While the user interface of CouchDB is handy for creating new databases and documents quickly, you will eventually want to get the data from those documents in a standardized way. Fortunately, JSON-formatted data is readily available from CouchDB through HTTP. We've started up CouchDB, and it lists all the databases here. Let's open up a new tab and go to /_all_dbs. You'll notice that those three databases are now listed again only in JSON format.
If we go to /restaurant, you might expect that all the records from restaurant are listed. However, this only lists the information about the restaurant database. To get a list of all of the documents in the restaurant database, go to /restaurant/_all_docs. Now again, we see all the same information that you would see if you navigate to restaurant here in Futon. We'd also like to be able to get the information about a single document.
To do that, copy the ID and paste it in as the last segment of the URL. All of the data from this document is now displayed in JSON format, including the name and the content that we entered earlier. Retrieving documents from CouchDB is as easy as making an HTTP request. Once you have the key for the document and the database where it's stored, you have everything you need to get the data back in JSON format.
There are currently no FAQs about Up and Running with NoSQL Databases.
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.