Getting Started with NoSQL
Chapters
This course introduces you to NoSQL databases and touch on various subjects. We will use CouchDb to explain things that are common with many NoSQL databases.
This course is divided into 16 chapters
- Intro
- Prerequisites
- What is NoSQL
- What kinds of data stores are available.
- Learn CAP theorem
- When to use NoSQL databases.
- CouchDB
- Install CouchDB on Windows
- Install CouchDB on Linux.
- Storing data
- Retreive stored data
- Querying data, Creating customer views and using Map Reduce function
- A word on attachments, querying attachments and deplying a simple webpage application on CouchDB
- Securing CouchDB
- Partitioning
- Other NoSQL databases and A word on where to go from here.
We hope that you will enjoy this course. If you have any feedback please send it through.
Author: Subject Coach
Added on: 2nd Jan 2015
Please get in touch with your teacher or tutor in case you have a question related to this lesson
None just yet!
Using Futon interface its easy to push data to CouchDB store. At some point you would also want to access that data. Lets see how you can retrieve your data.
Goto http://127.0.0.1:5984/ underscore all underscore DBs.
You will now see all available databases in a nice JSON format.
This is displaying list of all databases, but! how about if you want to fetch contents under single database.
Goto http://127.0.0.1:5984/blog.
This will not show you what you would expect, rather it returns meta information for the database itself.
To retrieve documents under blog store,
goto http://127.0.0.1:5984/blog/ underscore all underscore docs.
Now you will see all the stored documents with their latest revisions.
You are also able to get a single document by using document ID, lets
goto http://127.0.0.1:5984/blog/ ID of a document.
You are now able to see details of that document in a JSON format.
If you go back to Futon interface, you will see this data is exactly the same. In next video I will show you how to write a search filter.