Police-Data-Accessibility-Project / data-sources-app

An API and UI for using and maintaining the Data Sources database
MIT License
4 stars 5 forks source link

Create `DatabaseClient.update_entry_in_table` method #398

Closed maxachis closed 3 months ago

maxachis commented 3 months ago

This issue is relatively simple in concept but likely more complicated in execution.

We're developing endpoints for updating various tables in our database. Rather than create unique Database Client methods for each of these, let's create one which takes the table name, the row id, and a dictionary of columns and their new values, and edits that row accordingly.

Boring implementation stuff shield your eyes youths

Constraints

josh-chamberlain commented 3 months ago

this is a great idea!