[GODRIVER-1943] Support "comment" on most commands Created: 31/Mar/21  Updated: 02/May/22  Resolved: 02/May/22

Status: Closed
Project: Go Driver
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Major - P3
Reporter: David Bartley Assignee: Preston Vasquez
Resolution: Duplicate Votes: 1
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on GODRIVER-2199 Add support for the comment field to ... Closed
Duplicate
duplicates GODRIVER-2063 Comment field is missing Closed
duplicates GODRIVER-2199 Add support for the comment field to ... Closed
Epic Link: Comment Field Support
Case:
Documentation Changes Summary:

Most (all?) commands should now accept a top-level comment key, but the go driver only supports comment on find and aggregate; in particular, this is missing from update, delete, insert, count, distinct, and findAndModify.


 Comments   
Comment by Kevin Albertson [ 05/Apr/21 ]

Agh! Sorry for the internal link (it is removed now). Suffice it to say, there is a cross drivers project scheduled by the end of this year to make the necessary specification changes for to support comment. We'll pick this up after it has been specified.

Comment by David Bartley [ 31/Mar/21 ]

Heh, apparently I can't view that ticket

Comment by Kevin Albertson [ 31/Mar/21 ]

Thank you for the feature request bartle! There is a drivers project planned to add support for comment on all driver helpers.

Comment by David Bartley [ 31/Mar/21 ]

Per SERVER-29794, I guess this should be technically gated on the 4.4 FCV; for update, delete, count, distinct and findAndModify (but not insert), you could instead add "$comment" to the query component (if you have a bulk write idk if you should just add it to the first, or all queries).

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