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
Which method is used to create an index in MongoDB ?
Home
Big Data | Hadoop
Which method is used to create an index in MongoDB ?
0
votes
asked
Mar 22, 2020
in
Big Data | Hadoop
by
SakshiSharma
Which method is used to create an index in MongoDB ?
#mongodb-index-creation
Bigdata-questions-answers
Hadoop-questions-answers
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Mar 23, 2020
by
rajeshsharma
The createIndex() method is used to create an index.
Your comment on this answer:
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Related questions
0
votes
Q: What is the use of an Index in MongoDB ?
asked
Mar 22, 2020
in
Big Data | Hadoop
by
SakshiSharma
#mongodb-indexing
Bigdata-questions-answers
Hadoop-questions-answers
0
votes
Q: Which method is used to update documents into a collection in MongoDB ?
asked
Mar 22, 2020
in
Big Data | Hadoop
by
SakshiSharma
#mongodb-document-update
Bigdata-questions-answers
Hadoop-questions-answers
0
votes
Q: Which method is used to remove a document from a collection in MongoDB ?
asked
Mar 22, 2020
in
Big Data | Hadoop
by
SakshiSharma
#mongodb-document-collection
Bigdata-questions-answers
Hadoop-questions-answers
0
votes
Q: Which command is used to create a backup of the database in MongoDB ?
asked
Mar 22, 2020
in
Big Data | Hadoop
by
SakshiSharma
#mongodb-create-backup
Bigdata-questions-answers
Hadoop-questions-answers
0
votes
Q: Which command is used to create a database in MongoDB ?
asked
Mar 22, 2020
in
Big Data | Hadoop
by
SakshiSharma
#mongodb-database-commands
Bigdata-questions-answers
Hadoop-questions-answers
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: What is the use of the save() method in MongoDB ?
asked
Mar 22, 2020
in
Big Data | Hadoop
by
SakshiSharma
#mongodb-save-method
Bigdata-questions-answers
Hadoop-questions-answers
0
votes
Q: What is the syntax of the skip() method in MongoDB ?
asked
Mar 22, 2020
in
Big Data | Hadoop
by
SakshiSharma
#mongodb-skip-method
Bigdata-questions-answers
Hadoop-questions-answers
0
votes
Q: What is the syntax of the sort() method in MongoDB ?
asked
Mar 22, 2020
in
Big Data | Hadoop
by
SakshiSharma
#mongodb-sort-method
Bigdata-questions-answers
Hadoop-questions-answers
0
votes
Q: What is the syntax of the limit() method in MongoDB ?
asked
Mar 22, 2020
in
Big Data | Hadoop
by
SakshiSharma
#mongodb-limit-method
Bigdata-questions-answers
Hadoop-questions-answers
...