You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Olivier Le Quellec (Jira)" <ji...@apache.org> on 2022/03/16 10:52:00 UTC

[jira] [Created] (BEAM-14115) Update find criteria limited to _id

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)