DBIx::Jello::Class - persisted DBIx::Jello-based classes
You don't use DBIx::Jello::Class directly, you'll be given subclasses of it from the DBIx::Jello manpage proper.
Your generated classes will have the following methods
dbh()
returns the dbh we're connected to
table()
returns the table name in the database.
Create a new instance of this class. Any key/value pairs will be used as the initial state of the instance.
retrieve an instance of the class by ID
Search for instances
returns the (read-only) ID of the instance
returns the value of the named parameter of the instance
sets the named param to the passed value. Can be passed a hash to set many params.
DBIx::Jello::Class objects provide an AUTOLOAD method that can get/set any parameter.
Just call $instance->foo( 'bar' ) to set the 'foo' param to 'bar', and
$instance->foo() to get the value of the foo param.
Tom Insam <tom@jerakeen.org>