libclass-dbi-plugin-retrieveall-perl

Class::DBI plugin providing a more complex retrieve_all() method

Description

Class::DBI::Plugin::RetrieveAll 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:

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://metacpan.org/release/Class-DBI-Plugin-RetrieveAll


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install libclass-dbi-plugin-retrieveall-perl