StackOverflow Questions for Tag: mongodb-update

Juan
Juan

Reputation: 432

MongoDB - How to use elemMatch as condition to update fields

Score: 1

Views: 53

Answers: 2

Read More
David Mason
David Mason

Reputation: 1449

Copy field of each element in an array of a sub-property to another field

Score: 3

Views: 57

Answers: 2

Read More
Lucien Chardon
Lucien Chardon

Reputation: 301

Rename field name in nested array of subdocuments for all documents

Score: 2

Views: 45

Answers: 1

Read More
ViaLobo
ViaLobo

Reputation: 3

MongoDB - How to filter and update on a child of a child

Score: 0

Views: 56

Answers: 1

Read More
Wave
Wave

Reputation: 33

MongoDB - Remove object element in array inside another object

Score: 2

Views: 54

Answers: 1

Read More
I3_T_00
I3_T_00

Reputation: 1

Decrement value MongoDB, prevent negative number

Score: 0

Views: 147

Answers: 3

Read More
Wojciech Marusarz
Wojciech Marusarz

Reputation: 394

Replace substring in array of objects with nested objects

Score: 2

Views: 59

Answers: 1

Read More
iss42
iss42

Reputation: 2816

mongodb pipeline $filter with condition not $in

Score: 1

Views: 73

Answers: 2

Read More
Max adam
Max adam

Reputation: 105

Mongoose - Conditionally update fields in the update query

Score: 2

Views: 190

Answers: 1

Read More
Babak
Babak

Reputation: 198

MongoDB - Update a field based on another field within the same doc in the array

Score: 1

Views: 47

Answers: 2

Read More
Kesem David
Kesem David

Reputation: 2245

Can modifiedCount and upsertedCount both be 0?

Score: 1

Views: 4256

Answers: 3

Read More
Noob_Mern_Dev
Noob_Mern_Dev

Reputation: 83

How to add a new field with the reference field through Mongo shell

Score: 0

Views: 53

Answers: 1

Read More
user1071979
user1071979

Reputation: 1791

How to replace substring in mongodb document

Score: 121

Views: 134310

Answers: 11

Read More
Yogesh Mangaj
Yogesh Mangaj

Reputation: 3280

MongoDB concatenate strings from two fields into a third field

Score: 30

Views: 44794

Answers: 8

Read More
Syd Amir
Syd Amir

Reputation: 475

How to use $setUnion on array of object with different object order for updating document

Score: 0

Views: 79

Answers: 1

Read More
Ajith
Ajith

Reputation: 2666

Mongoose - How to update certain subdocument value in array of objects

Score: 0

Views: 60

Answers: 1

Read More
SJaka
SJaka

Reputation: 840

How to insert a field in an existing document in MongoSH

Score: 1

Views: 87

Answers: 1

Read More
Denys Siebov
Denys Siebov

Reputation: 340

MongoDB - Update value with sub-string in embedded array element

Score: 0

Views: 41

Answers: 1

Read More
ShaRaf
ShaRaf

Reputation: 23

Mongoose - Accessing and removing a subdocument by _ID within an array of objects

Score: 1

Views: 337

Answers: 2

Read More
zinbrox
zinbrox

Reputation: 183

How to combine multiple arrayFilters for a single key

Score: 2

Views: 97

Answers: 1

Read More
PreviousPage 1Next