Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update individual properties #1279

Merged
merged 2 commits into from
Jan 3, 2024

Conversation

aeshub
Copy link
Contributor

@aeshub aeshub commented Dec 20, 2023

No description provided.

@aeshub aeshub added the improvement Improvement to existing functionality label Dec 20, 2023
@aeshub aeshub self-assigned this Dec 20, 2023
@aeshub aeshub marked this pull request as draft December 20, 2023 09:46
@aeshub aeshub force-pushed the update-individual-properties branch from df17540 to b19ce97 Compare December 20, 2023 11:01
@aeshub aeshub marked this pull request as ready for review December 20, 2023 11:02
@aeshub aeshub force-pushed the update-individual-properties branch from b19ce97 to e33f67d Compare December 20, 2023 11:06
@aeshub aeshub force-pushed the update-individual-properties branch 4 times, most recently from 828a20c to ec91da4 Compare January 3, 2024 10:26
backend/api/Controllers/RobotController.cs Outdated Show resolved Hide resolved
backend/api/Controllers/RobotController.cs Show resolved Hide resolved
backend/api/Services/RobotService.cs Show resolved Hide resolved
backend/api/Services/RobotService.cs Outdated Show resolved Hide resolved
The ExecuteUpdate functil will update individual columns without
affecting other columns in the same table. This means we can update
robot pressure for example without writing status to the old value
hopefully avoiding some concurrency issues.

Note that ExecuteUpdate does not work for relational entities within
the table which is why it has not bee implemented for current area.
@aeshub aeshub force-pushed the update-individual-properties branch from ec91da4 to 2386de4 Compare January 3, 2024 11:26
@aeshub aeshub requested a review from andchiind January 3, 2024 11:26
Copy link
Contributor

@andchiind andchiind left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@aeshub aeshub merged commit 9269944 into equinor:main Jan 3, 2024
10 checks passed
@aeshub aeshub deleted the update-individual-properties branch January 3, 2024 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Improvement to existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants