Details
-
New Feature
-
Resolution: Duplicate
-
Major - P3
-
None
-
None
-
None
Description
Similar to findAndModify with upsert, but does not modify the existing record if found.
Alternately, if findAndModify/upsert could take a separate dictionary of values used when creating new records versus for updating existing records, that could work too.
Useful for atomically creating a record only if no records match some conditions without changing existing records.