DBIx::Skinny::Row - DBIx::Skinny's Row class
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({$col => $val});
set columns data.
$row->set_columns({$col => $val});
$row->set_column($col => $val);
set column data.
returns those that have been changed.
insert row data. call find_or_create method.
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.
$table_name is optional.
refetch record from database. get new row object.
get skinny 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 DBIx::Skinny, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DBIx::Skinny
CPAN shell
perl -MCPAN -e shell install DBIx::Skinny
For more information on module installation, please visit the detailed CPAN module installation guide.