Rose::DB::Object::Helpers

Rose::DB::Object::Helpers is a mix-in class containing convenience methods for Rose::DB::Object.
Download

Rose::DB::Object::Helpers Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • John C. Siracusa
  • Publisher web site:
  • http://search.cpan.org/~jsiracusa/

Rose::DB::Object::Helpers Tags


Rose::DB::Object::Helpers Description

Rose::DB::Object::Helpers is a mix-in class containing convenience methods for Rose::DB::Object. Rose::DB::Object::Helpers is a mix-in class containing convenience methods for Rose::DB::Object.SYNOPSIS package MyDBObject; use Rose::DB::Object; our @ISA = qw(Rose::DB::Object); use Rose::DB::Object::Helpers 'clone', { load_or_insert => 'find_or_create' }; ... $obj = MyDBObject->new(id => 123); $obj->find_or_create(); $obj2 = $obj->clone;Rose::DB::Object::Helpers provides convenience methods from use with Rose::DB::Object-derived classes. These methods do not exist in Rose::DB::Object in order to keep the method namespace clean. (Each method added to Rose::DB::Object is another potential naming conflict with a column accessor.)This class inherits from Rose::DB::Object::MixIn. See the Rose::DB::Object::MixIn documentation for a full explanation of how to import methods from this class. The helper methods themselves are described below. Requirements: · Perl


Rose::DB::Object::Helpers Related Software