From: Brandon L. Black Date: Thu, 2 Mar 2006 11:29:53 +0000 (+0000) Subject: add update_or_create proxy method X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=7745829a471afbfe92caf331dbce1738567ab2b4;p=dbsrgits%2FDBIx-Class-Historic.git add update_or_create proxy method --- diff --git a/lib/DBIx/Class/ResultSetProxy.pm b/lib/DBIx/Class/ResultSetProxy.pm index 7672052..22336ae 100644 --- a/lib/DBIx/Class/ResultSetProxy.pm +++ b/lib/DBIx/Class/ResultSetProxy.pm @@ -2,13 +2,14 @@ package DBIx::Class::ResultSetProxy; use base qw/DBIx::Class/; -sub search { shift->resultset_instance->search(@_); } -sub search_literal { shift->resultset_instance->search_literal(@_); } -sub search_like { shift->resultset_instance->search_like(@_); } -sub count { shift->resultset_instance->count(@_); } -sub count_literal { shift->resultset_instance->count_literal(@_); } -sub find { shift->resultset_instance->find(@_); } -sub create { shift->resultset_instance->create(@_); } -sub find_or_create { shift->resultset_instance->find_or_create(@_); } +sub search { shift->resultset_instance->search(@_); } +sub search_literal { shift->resultset_instance->search_literal(@_); } +sub search_like { shift->resultset_instance->search_like(@_); } +sub count { shift->resultset_instance->count(@_); } +sub count_literal { shift->resultset_instance->count_literal(@_); } +sub find { shift->resultset_instance->find(@_); } +sub create { shift->resultset_instance->create(@_); } +sub find_or_create { shift->resultset_instance->find_or_create(@_); } +sub update_or_create { shift->resultset_instance->update_or_create(@_); } 1;