The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

OpenERP::OOM::Link::DBIC

DESCRIPTION

Class used to link OpenERP data with data in DBIC.

PROPERTIES

dbic_schema

This is the DBIC Schema object. If you need a generic DBIC schema object this is normally the simplest way to access it.

METHODS

These methods are not normally called directly.

create

Returns the new ID of a row it creates in a table using DBIC.

    my $id = $link->create({ class => 'RSName' }, $object_data);

retrieve

This is equivalent to doing a find on a ResultSet.

    my $object = $link->retrieve({ class => 'RSName' }, $id);

This is equivalent to doing a search on a ResultSet and then returning a list of all the id fields.

    my @ids = $link->search({ class => 'RSName' }, $search, $options);

COPYRIGHT & LICENSE

Copyright (C) 2011 OpusVL

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