The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Maypole::Model::CDBI - Model class based on Class::DBI

DESCRIPTION

This is a master model class which uses Class::DBI to do all the hard work of fetching rows and representing them as objects. It is a good model to copy if you're replacing it with other database abstraction modules.

It implements a base set of methods required for a Maypole Data Model. See Maypole::Model::Base for these:

adopt
class_of
do_edit
list
setup_database

Additional Commands

delete

Surprisingly, this command causes a database record to be forever lost.

The search action

Helper Methods

order
stringify_column
do_pager

Given an accessor name as a method, this function returns the class this accessor returns.