Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-39060

Provide a way to perform an upsert in the Stitch Support Library

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.1.8
    • None
    • Querying
    • None
    • Fully Compatible
    • Query 2019-01-28, Query 2019-02-11

    Description

      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.

      Attachments

        Activity

          People

            justin.seyster@mongodb.com Justin Seyster
            justin.seyster@mongodb.com Justin Seyster
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: