NAME
DBIx::Skinny::Row - DBIx::Skinny's Row class
METHODS
- $row->get_column($column_name)
-
my $val = $row->get_column($column_name);
get a column value from a row object.
- $row->get_columns
-
my %data = $row->get_columns;
Does
get_column
, for all column values. - $row->set(\%new_row_data)
-
$row->set({$col => $val});
set columns data.
- $row->get_dirty_columns
-
returns those that have been changed.
- $row->insert
-
insert row data. call find_or_create method.
- $row->update([$arg, [$table_name]])
-
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;
- $row->delete([$table_name])
-
delete is executed for instance record.
It works by schema in which primary key exists.
- $row->handle
-
get skinny object.
$row->handle->single('table', {id => 1});
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 150:
=over without closing =back