Get your own website
db.posts.updateMany({}, { $inc: { likes: 1 } })              
{
  acknowledged: true,
  insertedId: null,  
  matchedCount: 5,   
  modifiedCount: 5,  
  upsertedCount: 0   
}
Atlas atlas-8iy36m-shard-0 [primary] blog>