How can you enter multi line operations in the mongo shell?
Answer / Vandana Kumari
To enter multi-line operations in the MongoDB shell, you can enclose the block of code between curly braces `{}` and end each line with a semicolon. Pressing Enter after the last semicolon will execute the entire block.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is mongodb tutorial?
How can you customize to mongo shell prompt?
Which operations lock the database in mongodb?
What is a secondary or slave?
what is objecld composed of?
In mongodb how do you use $set to update a nested value?
Does mongodb require a schema?
Why mongodb data files so large (in size)?
What is mongodb good for?
Can you achieve primary key - foreign key relationships in mongodb?
Is mongodb support replication?
How many text indexes can a mongodb collection have?
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)