Colin Newell > OpenERP-OOM > OpenERP::OOM::Link::DBIC

Download:
OpenERP-OOM-0.44.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.44   Source  

NAME ^

OpenERP::OOM::Link::DBIC

VERSION ^

version 0.44

DESCRIPTION ^

Class used to link OpenERP data with data in DBIC.

NAME ^

OpenERP::OOM::Link::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);

search

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.

AUTHOR ^

Jon Allen (JJ), <jj@opusvl.com>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2011-2016 by OpusVL.

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

syntax highlighting: