Olivier Le Quellec created BEAM-14115:
-----------------------------------------

             Summary: Update find criteria limited to _id
                 Key: BEAM-14115
                 URL: https://issues.apache.org/jira/browse/BEAM-14115
             Project: Beam
          Issue Type: Bug
          Components: io-java-mongodb
    Affects Versions: 2.37.0
            Reporter: Olivier Le Quellec


Documents update during write operations specify a find criteria, which is 
currently hard-coded to be on "_id" only. This is blocking for a lot scenarios, 
where we would like to upsert on a business-related document field

By adding "findKey" in UpdateConfiguration, we can specify a find criteria on 
any field of the document. The "findKey" will default to "_id" if not specified



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to