Chapter 8.
Advanced CRUD operations
In this section of the book we’re going to look at a few more ‘advanced’ patterns that you might want to use in your API’s CRUD endpoints.
You’ll learn:
How to support partial updates to a resource (so that the client only needs to send the data that they want to change).
How to use optimistic concurrency control to avoid race conditions when two clients try to update the same resource at the same time.
How to use context timeouts to terminate long-running database queries and prevent unnecessary resource use.