[COMPASS-4882] Expose update instead of replace in Hadron documents Created: 14/Jun/21  Updated: 21/Jun/21  Resolved: 16/Jun/21

Status: Closed
Project: Compass
Component/s: None
Affects Version/s: None
Fix Version/s: 1.27

Type: Task Priority: Major - P3
Reporter: Khanh Nguyen (Inactive) Assignee: Rhys Howell
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Documentation Changes: Not Needed
Sprint: Iteration Edinburgh

 Description   

Hi,

The Intel team would like to be able to use buildUpdateUnlessChangedInBackgroundQuery from crud-store.js in order to get the updated fields when user updates a document in Data Explore. They should be exposed through Hadron documents as we would like to get access to them through Hadron-documents.

https://github.com/mongodb-js/compass/blob/10af07b0986834e3060c91d1ab834398265ee1cb/packages/compass-crud/src/utils/document.js#L133

 



 Comments   
Comment by Githook User [ 21/Jun/21 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: chore(compass-crud, hadron-document): Move document helpers from compass-crud to hadron-document COMPASS-4882 (#2242)
Branch: 1.27-releases
https://github.com/mongodb-js/compass/commit/d9bc07c945ab2305fb6ab92af72dbb197b9615a7

Comment by Githook User [ 15/Jun/21 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: chore(compass-crud, hadron-document): Move document helpers from compass-crud to hadron-document COMPASS-4882 (#2242)
Branch: npm-workspaces
https://github.com/mongodb-js/compass/commit/d9bc07c945ab2305fb6ab92af72dbb197b9615a7

Comment by Githook User [ 14/Jun/21 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: chore(compass-crud, hadron-document): Move document helpers from compass-crud to hadron-document COMPASS-4882 (#2242)
Branch: master
https://github.com/mongodb-js/compass/commit/d9bc07c945ab2305fb6ab92af72dbb197b9615a7

Generated at Wed Feb 07 22:37:43 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.