How do I drop a collection in mongodb?
Answer / Yogesh Singh Garbyal
The command to drop a collection in MongoDB is 'db.collectionName.drop()'. Replace 'collectionName' with the name of the collection you want to drop.
| Is This Answer Correct ? | 0 Yes | 0 No |
Is mongodb for big data?
Is mongodb a cloud?
What is the advantage of mongodb?
Can we use mongodb with java?
How to list all indexes in mongodb?
What is the difference between mongodb and mongoose?
How index is used in mongodb?
What are journaling in mongodb?
Can mongodb scale?
Does mongodb require a schema?
How do I start a replica set in mongodb?
How much is mongodb enterprise cost?
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)