Teng::Row - Teng's Row class
create new Teng::Row's instance
my $val = $row->get_column($column_name);
get a column value from a row object.
my %data = $row->get_columns;
Does get_column, for all column values.
get_column
$row->set_columns({$col => $val});
set columns data.
$row->set_column($col => $val);
set column data.
returns those that have been changed.
update is executed for instance record.
It works by schema in which primary key exists.
$row->update({name => 'tokuhirom'}); # or $row->set({name => 'tokuhirom'}); $row->update;
delete is executed for instance record.
refetch record from database. get new row object.
get teng object.
$row->handle->single('table', {id => 1});
1 POD Error
The following errors were encountered while parsing the POD:
=over without closing =back
To install Teng, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Teng
CPAN shell
perl -MCPAN -e shell install Teng
For more information on module installation, please visit the detailed CPAN module installation guide.