Restricted resultsets in Catalyst
- With that in place, you can:
$c->model('DBIC::Restricted::Foo')->delete;
- instead of
$c->user->search_related('Foo')->delete;
| Catalyst | Improving your Catalyst Application | #55 |
$c->model('DBIC::Restricted::Foo')->delete;
$c->user->search_related('Foo')->delete;
| Infinity Interactive |