Skip to content
#

node-postgres

Here are 42 public repositories matching this topic...

aniledev
aniledev commented Apr 27, 2021

Problem
For example, when updating a restaurant entry in the database with a new name, location, and price range, the reviews for the old restaurant persist. This does not seem ideal as the review would be for a restaurant that no longer exists.

Fix
When updating a restaurant in the database, on the back-end code delete all reviews related to the old restaurant. When the event handle

enhancement good first issue

Improve this page

Add a description, image, and links to the node-postgres topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the node-postgres topic, visit your repo's landing page and select "manage topics."

Learn more