[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#252961: ITP: libclass-dbi-plugin-retrieveall-perl -- A more complex retrieve_all() method for Class::DBI

Package: wnpp
Severity: wishlist

* Package name    : libclass-dbi-plugin-retrieveall-perl
  Version         : 1.0
  Upstream Author : Tony Bowden <kasei@tmtm.com>
* URL             : http://search.cpan.org/CPAN/authors/id/T/TM/TMTM/
* License         : GPL 1 (or later) / Perl Artistic
  Description     : A more complex retrieve_all() method for Class::DBI

 This is a simple plugin to a Class::DBI subclass which provides a
 'retrieve_all_sorted_by' method.
 This method will be exported into the calling class, and allows for
 retrieving all the objects of the class, sorted by the given column.
 The argument given will be passed straight through to the database
 'as is', and is not checked in any way, so an error here will
 probably result in an error from the database, rather than Class::DBI
 itself. However, because of this it is possible to pass more complex
 ORDER BY clauses through:

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.6

Reply to: