The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.
package TestApp::Schema::ResultSet::Stations;
use base 'DBIx::Class::ResultSet';
use strict;
use warnings;

sub controller_search {
   my $self = shift;
   return $self->search({ id => 3 });
}

sub controller_sort {
   my $self = shift;
   return $self->search(undef, { order_by => 'bill' });
}

1;