Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-814

test_driver issues warning that bulk_write update_one requires $ operators

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.0.0
    • Affects Version/s: 3.0.0-rc0
    • Component/s: None
    • Labels:
      None

      test_driver issues the following warning:

      WARNING: mongoc: mongoc_bulk_operation_update_one(): update_one only works with $ operators.

      This error occurs when bulk_write update_one is used without $set. replace_one must be used to replace whole documents. We should find and change the occurrences of update_one without $set.

            Assignee:
            tess.avitabile@mongodb.com Tess Avitabile (Inactive)
            Reporter:
            tess.avitabile@mongodb.com Tess Avitabile (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: