This repository contains hands-on labs for the following new features in MongoDB 3.6:
- Change Streams
- JSON Schema Validation
- Aggregation Framework improvements
For all the hands-on labs available in this repository, you will need to take the following steps to install the latest version of MongoDB 3.6 on your machine:
Download the latest version of MongoDB 3.6 from the Download Center.
-
Create a
data
folder in your MongoDB 3.6 root folder. -
From your MongoDB 3.6 root folder, start mongod with the following command:
./bin/mongod --dbpath ./data
-
In a separate Terminal/Command Prompt window from your MongoDB 3.6 root folder, start the Mongo shell by typing:
./bin/mongo
-
Type the following to switch to the
test
database:use test