Implement the Read, Update, and Delete Operations

Explore how to perform the read, update, and delete operations for a MySQL database.

CRUD operations

In the previous lesson, we implemented a create operation for the address table. In this lesson, we’ll complete the CRUD operations by implementing the read, update, and delete operations.

Read

First, we update the getById service method to use addressRepository to read data from the database.

Get hands-on with 1200+ tech skills courses.