Customer Portal

MongoDBWriter to update some fields

Comments 1

  • Avatar
    imriskal
    0
    Comment actions Permalink
    Hi Micky,

    You probably miss "set" operator in your newValue property. Something like:
    $out.0.collection = "dogs";
    $out.0.query = '{ "_id" : { "$oid" : "5464b3d0aad8b71e2c2bc65f"} }';
    $out.0.newValue = '{ $set:{ "dogName": "Frankie" }}';

    You can find more information in MongoDB documentation.

    Hope this helps.

Please sign in to leave a comment.