selfdestruct(). By convention, this should be a function called
del().
You can view our example apps
Simple CRUD and Polybase Social to see it working in
action.
Define selfdestruct in Schema
The following provides an example of a delete function that only allows the owner of the record to delete it.Call delete from the SDK
You can now call thedel() function: