Database

A Collection is comparable to a table in a relational database. It is easy to create a collection in MongoDB.

First you need to be in your database

use your_database_name
switched to db your_database_name

Create your collection

db.createCollection('books')
{ "ok" : 1 }

Show your collection

> show collections
books

Easy