NAME

Schema::ResultSet - Example base class for DBIx::Class resultsets

DESCRIPTION

This module is an example base class for resultsets in the shipped example schema.

It is designed to be overridden by real applications.

METHODS

guard

my $rs = $rs->guard($context);

In this distribution, guard returns the resultset unchanged.

Applications may override it to apply authorization filters based on the given context (for example, a controller object).

The D helpers call guard when operating in secure mode.

internal_columns

my $hashref = $rs->internal_columns;

Return a hashref of column names that should be treated as internal. This is used by "columns_info" in D to exclude columns from returned metadata.

SEE ALSO

DBIx::Class::ResultSet, Schema::Result, D