Help for this page

Select Code to Download


  1. or download this
    package MyCompany::Schema::LogEntry;
    use base 'DBIx::Class::Core';
    ...
        # Other rows. (deleted)
    );
    __PACKAGE__->set_primary_key('id');
    
  2. or download this
    use Getopt::Long;
    use MyCompany::Schema::LogEntry;
    ...
    my $matching_log_RS = $log_schema->resultset('LogEntry')->search({%sea
    +rchTerms});
    
    print $matching_log_RS->as_query();
    
  3. or download this
    DBIx::Class::Schema::throw_exception(): Can't locate object method "re
    +sult_source_instance" via package "MyCompany::Schema::LogEntry" at /u
    +sr/local/lib/perl/5.10.1/DBIx/Class/ResultSourceProxy.pm line 37.