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

PutMongo cannot specify nested fields or multiple lookup keys

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6.0
    • Component/s: Extensions
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: