Delete Record
Delte record based on the provided parameters.
await dataService.deleteRecord(logicalName, id);
Example
await dataService.deleteRecord('tasks', 1);
This example deletes the task record with the specified ID.
Delte record based on the provided parameters.
await dataService.deleteRecord(logicalName, id);
await dataService.deleteRecord('tasks', 1);
This example deletes the task record with the specified ID.