| MojoMojo documentation | Contained in the MojoMojo distribution. |
MojoMojo::Schema::ResultSet::Role - resultset methods on roles
Filter inactive roles.
Marcus Ramberg <mramberg@cpan.org>
This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.
| MojoMojo documentation | Contained in the MojoMojo distribution. |
package MojoMojo::Schema::ResultSet::Role; use strict; use warnings; use parent qw/MojoMojo::Schema::Base::ResultSet/;
sub active_roles { shift->search( { active => 1 } ); }
1;