Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How can you enter multi line operations in the mongo shell?



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

Post New Answer

More MongoDB Interview Questions

What is mongodb tutorial?

1 Answers  


How can you customize to mongo shell prompt?

1 Answers  


Which operations lock the database in mongodb?

1 Answers  


What is a secondary or slave?

1 Answers  


what is objecld composed of?

1 Answers  


In mongodb how do you use $set to update a nested value?

1 Answers  


Does mongodb require a schema?

1 Answers  


Why mongodb data files so large (in size)?

1 Answers  


What is mongodb good for?

1 Answers  


Can you achieve primary key - foreign key relationships in mongodb?

1 Answers  


Is mongodb support replication?

1 Answers  


How many text indexes can a mongodb collection have?

1 Answers  


Categories