How to use deleteRecord in LWC
Let's look at how to delete a record using deleteRecord named import in LWC.
Let's look at how to delete a record using deleteRecord named import in LWC.
It's definitely very simple than using the other methods (createRecord & updateRecord).
Here is a sample snippet.
Here is the template file.
Hope this is helpful!