Write the syntax for creating a collection and dropping a collection in mongodb.
Answer / Sneha Kumari
[{"create": "use <database_name>ndb.createCollection('<collection_name>')", "drop": "db.<database_name>.dropCollection('<collection_name>')
| Is This Answer Correct ? | 0 Yes | 0 No |
Is mongodb free to use?
What happen when an index does not fit into ram?
what is the role of profiler in mongodb?
How can you take database backup in mongodb?
What are the disadvantages of mongodb?
What is the usage of profiler in mongodb?
Does mongodb have a schema?
Why is mongodb used?
What are the differences between mongodb and mysql?
Why are mongodb data files large in size?
When will data be on more than one shard?
Can you edit long shell operations with an external text editor?
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)