This function can be called to update records in the timesheet table. Timesheet ID and discord ID needs to be passed as a condition where as time_out and total_time are the columns that are being updated.
Issues
Closes #357
Type of change
Select one or more of the following:
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Other (describe below)
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. List any edge cases you tested.
If you come up with any edge cases you didn't test while writing this PR, cancel the PR and test again.
[x] Manually tested for updating records.
Checklist:
[x] All local commits have been pushed to remote
[x] All changes on the base branch have been merged into this branch, either by rebase or merge
[x] My code is PEP-8 compliant (excluding maximum line length, keep that to 100ish characters)
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
Description
This function can be called to update records in the timesheet table. Timesheet ID and discord ID needs to be passed as a condition where as
time_out
andtotal_time
are the columns that are being updated.Issues
Closes #357
Type of change
Select one or more of the following:
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. List any edge cases you tested. If you come up with any edge cases you didn't test while writing this PR, cancel the PR and test again.
Checklist: