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 |
What is the basic syntax to use index in mongodb?
What is a secondary or slave?
In which language mongodb is written?
How can you access different databases temporarily?
What is the difference between mongodb and oracle?
What happens when a shard is down or slow when querying?
What is difference between mongodb and dynamodb?
What is the syntax of mongodb collection?
Is mongodb better than mysql? Explain
What is the difference between $lt and $lte?
Does mongodb support primary-key, foreign-key relationship?
Is mongodb a relational database? Explain
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)