Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
what command is used to create a MongoDB collection in MongoDB?
Home
MongoDB
what command is used to create a MongoDB collection in MongoDB?
0
votes
asked
Jun 3, 2020
in
MongoDB
by
Robindeniel
what command is used to create a MongoDB collection in MongoDB?
#mongodb-collection
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jun 3, 2020
by
SakshiSharma
db.createCollection (name, options) is a command used to create collection MongoDB.
Related questions
0
votes
Q: What is a Collection in MongoDB ?
asked
Mar 22, 2020
in
Big Data | Hadoop
by
SakshiSharma
#mongodb-collection
Bigdata-questions-answers
Hadoop-questions-answers
+1
vote
Q: Find the command that forces MongoDB to use a particular index for a db.collection.find() operation.
asked
Apr 17, 2021
in
MongoDB
by
rajeshsharma
mongodb
mongodb-mcq
mongodo-interview-questions
mongodb-questions-answers
mongodb-best-questions
top-50-mongodb-mcq
0
votes
Q: Which command can be used to check the size of a collection named posts?
asked
Jun 17, 2020
in
MongoDB
by
AdilsonLima
#mangodb
0
votes
Q: In our posts collection, which of following command can be used to find all the posts whose author names begin lie between
asked
Jun 17, 2020
in
MongoDB
by
AdilsonLima
#mangodb
0
votes
Q: Which syntax is used to create a Collection in MongoDB ?
asked
Mar 22, 2020
in
Big Data | Hadoop
by
SakshiSharma
#mongodb-syntax
Bigdata-questions-answers
Hadoop-questions-answers
0
votes
Q: A collection and a document in MongoDB is equivalent to which of the SQL concepts?
asked
Jun 17, 2020
in
MongoDB
by
AdilsonLima
#mangodb
0
votes
Q: How to get the names of all the keys in a MongoDB collection in MongoDB?
asked
Jun 3, 2020
in
MongoDB
by
Robindeniel
#mongodb-keys
#mongodb
0
votes
Q: In MongoDB, which command can be used to provide all information of a query plan in MongoDB?
asked
Jun 3, 2020
in
MongoDB
by
Robindeniel
#mongodb-queryplan
0
votes
Q: Which command can be used in mongo shell to show all the databases in your MongoDB instance?
asked
Jun 17, 2020
in
MongoDB
by
AdilsonLima
#mangodb
+1
vote
Q: By default, the MongoDB cursor in mongo shell is configured to return how many documents? To get the next set of documents, which command is used?
asked
Jun 17, 2020
in
MongoDB
by
AdilsonLima
#mangodb
...