Yves HAMEL created NIFI-4984:
--------------------------------
Summary: PutMongo processor : specifying nested field and multiple
field on Update Query Key properties
Key: NIFI-4984
URL: https://issues.apache.org/jira/browse/NIFI-4984
Project: Apache NiFi
Issue Type: New Feature
Components: Extensions
Affects Versions: 1.5.0
Reporter: Yves HAMEL
Hello everyone,
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.
Those function are available with the native mongodb db.collection.updateOne()
method.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)