Add optdep on CPAN::Uploader to get an effortless `make upload`
[dbsrgits/DBIx-Class.git] / lib / DBIx / Class / ResultSetProxy.pm
1 package # hide from PAUSE
2     DBIx::Class::ResultSetProxy;
3
4 unless ($INC{"DBIx/Class/DB.pm"}) {
5   warn "IMPORTANT: DBIx::Class::ResultSetProxy is DEPRECATED AND *WILL* BE REMOVED. DO NOT USE.\n";
6 }
7
8 use strict;
9 use warnings;
10
11 use base qw/DBIx::Class/;
12
13 sub search           { shift->resultset_instance->search(@_);           }
14 sub search_literal   { shift->resultset_instance->search_literal(@_);   }
15 sub search_like      { shift->resultset_instance->search_like(@_);      }
16 sub count            { shift->resultset_instance->count(@_);            }
17 sub count_literal    { shift->resultset_instance->count_literal(@_);    }
18 sub find             { shift->resultset_instance->find(@_);             }
19 sub create           { shift->resultset_instance->create(@_);           }
20 sub find_or_create   { shift->resultset_instance->find_or_create(@_);   }
21 sub find_or_new      { shift->resultset_instance->find_or_new(@_);      }
22 sub update_or_create { shift->resultset_instance->update_or_create(@_); }
23
24 1;