DBIx::Class::ResultSet::Faceter::Facet - A Facet
The minimum number of values that a facet must have to be included. Anything less than the value of this attribute will be discarded.
The name of this facet. This attribute is required. It should be unique when compared to any other facets used on the ResultSet.
The sort order of this facet. Defaults to 'desc'. Valid values are desc and <asc>.
desc
Predicate for the min attribute.
min
The process method is the only required method for something implementing this role. When faceting the Facet class will be called once for each row in the ResultSet that is being faceted. It is expected to return a string that will place it into a facet. Any sorting, limiting, offseting or other operations are handled by the role and not necessary.
Cory G Watson, <gphat at cpan.org>
<gphat at cpan.org>
Copyright 2010 Cold Hard Code, LLC
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install DBIx::Class::ResultSet::Faceter, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DBIx::Class::ResultSet::Faceter
CPAN shell
perl -MCPAN -e shell install DBIx::Class::ResultSet::Faceter
For more information on module installation, please visit the detailed CPAN module installation guide.