Help for this page

Select Code to Download


  1. or download this
     package My::Schema::User;
    
    ...
    
      # Finally, register your new ResultSource with your Schema
      My::Schema->register_source( 'UserFriendsComplex' => $new_source );
    
  2. or download this
     my $friends = [ $schema->resultset( 'UserFriendsComplex' )->search( {
    +}, 
        {
    ...
        }
      ) ];