Remove queryBuilder restrictions 8. November 2019 Database This command will disable all restrictions and force the queryBuilder to return all items including the deleted ones. A nice example would be the recycler, where you can restore deleted items. $queryBuilder ->getRestrictions() ->removeAll();