when I use MIGXdb and I want to remove a multiple elements with migxdb's 'bulk-remove' on a custom manager page, I have to press the 'empty-trash'-button to remove my elements from the db. But I discovered that it won't delete the many-to-many table-rows even although I've use a aggregate-relationship.
In this example I would want to remove multiple owners from the 'Owner'-table and I would expect that the relation-table 'StoreOwners' would be removed, too. It works when I remove a single object by the context menu when I right-click it, but it won't work with the bulk-remove -> empty-trash way.
$xpdo->exec("delete from {$tablename} where deleted = 1");
to remove the records in the default processor. This doesn't respect the relations.
You have to create your own emptytrash - processor, which loops the records with