Help for this page

Select Code to Download


  1. or download this
    my @events = $schema->resultset( 'MyTable' )->search({
                             eventdate => { '>=' => $date1 },
                             eventdate => { '=<' => $date2 }
                         });
    
  2. or download this
    my @events = $schema->resultset( 'MyTable' )->search({
                             eventdate => {between => [$date1,$date2]}});