GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  DBIX::SKINNY::ROW (3)

.ds Aq ’

NAME

DBIx::Skinny::Row - DBIx::Skinny’s Row class

CONTENTS

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) # has been deprecated


    $row->set({$col => $val});



set columns data.

$row->set_columns(\%new_row_data)


    $row->set_columns({$col => $val});



set columns data.

$row->set_column($col => $val)


    $row->set_column($col => $val);



set column 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.

my $refetched_row = $row->refetch($table_name); $table_name is optional.

refetch record from database. get new row object.

$row->handle get skinny object.



    $row->handle->single(table, {id => 1});



POD ERRORS

Hey! <B>The above document had some coding errors, which are explained below:B>
Around line 185: =over without closing =back
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 DBIX::SKINNY::ROW (3) 2011-02-10

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.