Peter Karman > CatalystX-CRUD-Model-RDBO-0.27 > CatalystX::CRUD::Object::RDBO

Download:
CatalystX-CRUD-Model-RDBO-0.27.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.27   Source   Latest Release: CatalystX-CRUD-Model-RDBO-0.302

NAME ^

CatalystX::CRUD::Object::RDBO - Rose::DB::Object implementation of CatalystX::CRUD::Object

SYNOPSIS ^

 # fetch a row from MyApp::Model::Foo (which isa CatalystX::CRUD::Model)
 my $foo = $c->model('Foo')->fetch( id => 1234 );
 $foo->create;
 $foo->read;
 $foo->update;
 $foo->delete;

DESCRIPTION ^

CatalystX::CRUD::Object::RDBO implements the required CRUD methods of a CatalystX::CRUD::Object subclass. It is intended for use with CatalystX::CRUD::Model::RDBO.

METHODS ^

Only new or overridden methods are documented here.

load_speculative

Calls load( speculative => 1 ) on the internal delegate() value.

create

Calls delegate->save().

read

Calls delegate->load(). NOTE: If you need a speculative load, use load_speculative() instead.

update

Calls delegate->save().

delete

Calls delegate->delete(@_).

is_new

Calls not_found() on the RDBO delegate.

serialize

Returns column/value pairs for RDBO delegate with all DateTime et al objects serialized to strings.

AUTHOR ^

Peter Karman, <karman at cpan.org>

BUGS ^

Please report any bugs or feature requests to bug-catalystx-crud-model-rdbo at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=CatalystX-CRUD-Model-RDBO. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT ^

You can find documentation for this module with the perldoc command.

    perldoc CatalystX::CRUD::Model::RDBO

You can also look for information at:

ACKNOWLEDGEMENTS ^

This module is based on Catalyst::Model::RDBO by the same author.

COPYRIGHT & LICENSE ^

Copyright 2007 Peter Karman, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: