MongoDB

The database command-line tools you can add to your dev environment without database installation
| | | | | |

The database command-line tools you can add to your dev environment without database installation

This post is about the command-line tools that are officially supported by the major databases. Each one of those tools is shipped as part of the corresponding database installation package. However, here will see how we can obtain and install them as a stand-alone-tools, without the respective database installation.

MongoDB schema validation rules

MongoDB schema validation rules

MongoDB is a very popular free and open-source cross-platform document-oriented database. It is a NoSQL database and it is based on JSON-like documents. Document-based databases are either schema-less or they provide a certain level of flexibility defining schemas using schema validation rules.
The purpose of this post is to demonstrate how we can apply some schema validation rules in a collection.