Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-4989

PutMongo cannot specify nested fields or multiple lookup keys

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.6.0
    • Extensions
    • None

    Description

      From the user mailing list:

      I am using PutMongo processor to update documents in a mongoDB collection.
      I would like to specify nested field and multiple key in the update Key.

      For exemple :
      - my mongodb documents are {"nom":"HAMEL", "prenom":"Yves",
      "ids":{"idSoc":"1234", "idInterne":"788"}}
      - I would'd like to set update query key to something like {"ids.idSoc" ,
      "nom"}
      - this would means that I update document with ids.idSoc and nom equals to
      my mew document.

      Attachments

        Issue Links

          Activity

            People

              mike.thomsen Mike Thomsen
              mike.thomsen Mike Thomsen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: