Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-1968

Pipeline can't handle empty structs and maps

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Unknown Unknown
    • None
    • None
    • API
    • None

    Description

      collection.UpdateOne fails if a {{$set, myStruct}} is supplied within a mongo pipeline, and the struct contains empty values.

       

      However that same $set succeeds, when it's not within a pipeline.

      Attachments

        Activity

          People

            Unassigned Unassigned
            teeling.sean@gmail.com Sean Teeling
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: