This website uses Cookies. Click Accept to agree to our website's cookie use as described in our Privacy Policy. Click Preferences to customize your cookie settings.
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 configure this for use with the Mongo DB -Update snap?
any one have an example?
How to you convert a timestamp to datetime format? The API that I call uses a timestamp and I need to convert those to mm/dd/yyyy.
here’s an example of the timestamp response.
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.