The delete method is used to remove records from the dataset. It has to be used with the
where method and a
filter criteria so we know what to delete. In order to select a field, you need to import the
Field Module first. Creating a filter using the conditional methods below provide you with a lot of flexibility on when a record should be deleted.
You can use the following conditional methods to create a filter:
In order to obtain deeper insights, please visit the API reference