API with NestJS #175. PUT and PATCH requests with PostgreSQL and Drizzle ORM
Briefly

Using the PUT method with Drizzle ORM requires explicit field definition; missing fields in the request body result in their removal from the entity, thus promoting clarity and precision in updates.
The PATCH method allows for partial updates of existing entities with versatility, where properties can be omitted. However, careful handling is mandatory to avoid unintended data alterations.
Read at Marcin Wanago Blog - JavaScript, both frontend and backend
[
|
]