What is the syntax of update document?



What is the syntax of update document?..

Answer / Jitendra Kumar Mishra

The syntax for update document is: `db.collection.update({ query }, { update }, { upsert, multi })`

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More MongoDB Interview Questions

Does mongodb have tables?

1 Answers  


Why do we use mongodb?

1 Answers  


What are different between mongodb and sql server databases?

1 Answers  


What is journaling in mongodb?

1 Answers  


What is the advantage of mongodb?

1 Answers  


How to insert image in mongodb database?

1 Answers  


How do I drop a collection in mongodb? Write it's syntax

1 Answers  


What is BSON?

1 Answers  


What language does mongodb use?

1 Answers  


Is mongodb a relational database?

1 Answers  


What is data model in mongodb?

1 Answers  


How does mongodb provide concurrency?

1 Answers  


Categories