How is a Row a form marked as deleted in the database

We use some Basic STL to create reports from data we collect in forms.
Sometimes we delete an entry in a form using the GUI.
But when I look at the table, the entry row is still in the database table.
How does Mautic mark something as “deleted” so I can filter them out in my report?

Thanks!

Eric