Which function is used to create an index?
Answer / Sheela Maurya
In MongoDB, you can create an index using the createIndex() method. Example: db.collection.createIndex({ field1: 1 })
| Is This Answer Correct ? | 0 Yes | 0 No |
Is mongodb support null values?
Is mongodb faster than sql?
Why do we need mongodb?
What is crud in mongodb?
What's new in mongodb 3.2?
What is the role of 8 analysers in mongodb?
When an object attribute is removed, is it deleted from the store?
How do I connect to mongodb remotely?
Does mongodb use sql?
How do I start mongodb on windows?
Does mongodb have a schema?
Is mongodb a database?
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)