DBIx::BlackBox::Procedure - role consumed by procedure classes.


Back to Top


NAME

DBIx::BlackBox::Procedure - role consumed by procedure classes.

Back to Top


ROLE PARAMETERS

    package MyDBBB::Procedure::ListCatalogs;
    with 'DBIx::BlackBox::Procedure' => {
        name => 'DB_Live..list_catalogs',
        resultsets => [qw(
            MyDBBB::ResultSet::Catalogs
            MyDBBB::ResultSet::CatalogData
        )],
    };

name

Name of the stored procedure.

Required.

isa: Str.

resultsets

Names of the resultsets classes (will be automatically loaded).

isa: ArrayRef.

Back to Top


METHODS

resultsets

Returns a list of resultset classes registered with role.

exec

Executes stored procedure and returns the DBIx::BlackBox::Result manpage object.

Back to Top


AUTHOR

Alex J. G. Burzyński, <ajgb at cpan.org>

Back to Top


LICENSE AND COPYRIGHT

Copyright 2010 Alex J. G. Burzyński.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.

Back to Top

 DBIx::BlackBox::Procedure - role consumed by procedure classes.