Catalyst::TraitFor:C:aMtoadUlesyles:rt::DC:BoTInrCta:ri:itSbFcuohtree:md:aM:Po:edPreellr:RD:eoDqcBuuIemCse:tn:StScachtheiemomana(:3:)PerRequestSchema(3)



NNAAMMEE
       Catalyst::TraitFor::Model::DBIC::Schema::PerRequestSchema - Clone the
       schema with attributes for each requests

SSYYNNOOPPSSIISS
           __PACKAGE__->config({
               traits => ['PerRequestSchema'],
           });

           method per_request_schema_attributes($c) {
               return (restricting_object => $c->user->obj);
           }

DDEESSCCRRIIPPTTIIOONN
       Clones the schema for each new request with the attributes retrieved
       from your "per_request_schema_attributes" method, which you must
       implement. This method is passed the context.

SSEEEE AALLSSOO
       Catalyst::Model::DBIC::Schema, DBIx::Class::Schema

AAUUTTHHOORR
       See "AUTHOR" in Catalyst::Model::DBIC::Schema and "CONTRIBUTORS" in
       Catalyst::Model::DBIC::Schema.

CCOOPPYYRRIIGGHHTT
       See "COPYRIGHT" in Catalyst::Model::DBIC::Schema.

LLIICCEENNSSEE
       This program is free software, you can redistribute it and/or modify it
       under the same terms as Perl itself.



perl v5.16.3      Catalyst::TraitF2o0r1:1:-M1o0d-e2l5::DBIC::Schema::PerRequestSchema(3)
