Author: Vijay SRJ
-
How to remove an item from a list of displayed items in angular?
Lets say you are displaying a list of items in a table using angular . The template code might look like this: I am using bootstrap here and passing the id of the product that I want to delete when user clicks on delete button. Here is the typescript code : I have added only…
-
How to delete records in Spring Data based on multiple field values?
Spring Data has made it so easy to deal with database. Most boiler plate code are removed and user can just concentrate on the business logic. Here is a simple way to delete records using multiple field values from a relational database table . STEP 1: Prepare your entity which corresponds to the table. Write…