Updating the database with null values while preserving the values in other columns
I am working on a REST API. At the moment I’ve been creating a PATCH endpoint to update user information such as their username, birthday, etc. I’ve been stuck for a couple days trying to make updating the information work with my Postgres database.
Go | Updating the database with null values while preserving the values in other columns
I am working on a REST API. At the moment I’ve been creating a PATCH endpoint to update user information such as their username, birthday, etc. I’ve been stuck for a couple days trying to make updating the information work with my Postgres database.