ModuleDocumentation/whatbot/Connection/Table/Row.pm

NAME

whatbot::Connection::Table::Row - Class wrapper for a database table row

SYNOPSIS

 my $row = $table->get(1);
 $row->row_id;

DESCRIPTION

whatbot::Connection::Table::Row wraps a record/row from a database result in an easy to use class. Each column in the record will auto-generate an accessor to be able to retrieve and set values. Call 'delete' to delete the given row, and call 'save' to update the row with new values. You cannot change the primary key at this time.

METHODS

save
Saves changes made back to the database.
delete
Delete this record from the database.

INHERITANCE

LICENSE/COPYRIGHT

Be excellent to each other and party on, dudes.