Stitch needs a way to see the result of an update operation that finds no document and so has to create a new document based on the query and update document (an upsert).
One possibility is modifying stitch_support_v1_update_apply() so that it uses upsert behavior when the 'documentBSON' argument is NULL.
- is related to
-
SERVER-37829 Add Stitch library update functions with unit tests
- Closed