Last active
January 3, 2019 10:38
-
-
Save pablocattaneo/0429bf50a8fc64b15eb75bdc52ad52fb to your computer and use it in GitHub Desktop.
How to create a collection in MongoDb? #mongoDb #mongoShell Source: createCollection method: https://www.udemy.com/mongodb-the-complete-developers-guide/learn/v4/t/lecture/11758316?start=0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Creating a collection using lazy mode | |
db.collectionName | |
// Createing a collection using createCollection method | |
db.createCollection() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment