[JAVA-1152] Leave out optional fields from UpdateCommandMessage payload Created: 23/Mar/14  Updated: 03/Apr/14  Resolved: 27/Mar/14

Status: Closed
Project: Java Driver
Component/s: Write Operations
Affects Version/s: None
Fix Version/s: 2.12.0, 3.0.0

Type: Improvement Priority: Major - P3
Reporter: Jon Hoffman Assignee: Jeffrey Yemin
Resolution: Done Votes: 0
Labels: rc3
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

See comment thread here: https://github.com/mongodb/mongo-java-driver/commit/ef7edbcbca0936bb077e635c710b8b571a483775#commitcomment-5768995



 Comments   
Comment by Githook User [ 24/Mar/14 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: JAVA-1152: For update command, only write multi or upsert field if the value is not the default.
Branch: 3.0.x
https://github.com/mongodb/mongo-java-driver/commit/5550bb675475c819a2ecf20234f2cf285560df80

Comment by Githook User [ 24/Mar/14 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: JAVA-1152: For update command, only write multi or upsert field if the value is not the default.
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/508a5ec94d62b5956d5fe02f35ec9b3602e5b12e

Generated at Thu Feb 08 08:53:54 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.