Forum Discussion

Jake_pm's avatar
Jake_pm
New Contributor II
3 years ago
Solved

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...
  • Jake_pm's avatar
    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.