Change default table query to get only the soft deleted records

Hello all,
For a project im working on I need my table results to only show the soft deleted records.
protected function getTableQuery(): Builder
{
    return parent::getTableQuery();
}

I want it so that instead of currently returning the default parent::getTableQuery instead a where or something like that that makes it so it only gets soft deleted records.
Was this page helpful?