Jake_pm
3 years agoNew Contributor II
Mongo DB Update Snap - Expression for Query
 The following query works in MongoDB Atlas to update a record:  
db.mytable.update  
(  
{  
_id : ObjectId(‘1234’)  
},  
{  
$set :  
{  
“org_name” : “new org name”  
}  
}  
) 
 How do we configu...
- 3 years ago
Figured it out… here’s what the MongoDB Update snap should look like.
and the fields you want to “$set” come from a mapper snap prior to the MongoDB Update snap.