With this final example we’ve come to the end of this overview on the main features provided by Mongo DB.
As always, feel free to play around with all the code samples that you saw before, something that will help you get a more intimate background on the inner workings of the database system.
If the name doesn’t ring any bells, Mongo DB ( is a highly-scalable, document-oriented database written in C , which permits you to store data by utilizing a JSON-like representation.
This means that you can perform CRUD operations (among others) without having to deal with the pitfalls and mismatch issues of an RDBMS, especially when it comes to handling objects, whose state must be persisted in tables.
But first things first: let's set up a database connection.
From the Database Tool window, we can use the green icon in the toolbar or press on Mac OS X) to create a new data source.
The following code snippet, shows how to update the last document present in the sample “posts” collection created previously.