1.

Update Row

Answer»

The MongoDB shell provides the following method to update row:

db.docx.update({ title: 'Post three' },
{
title: 'Post three,
body: 'New body for post 3',
date: Date()
},
{
upsert: true
})


Discussion

No Comment Found