-
Type: New Feature
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
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.