ArrayData::DBI - Get array data from DBI
This document describes version 0.002 of ArrayData::DBI (from Perl distribution ArrayDataRoles-Standard), released on 2021-04-20.
use ArrayData::DBI; my $ary = ArrayData::DBI->new( sth => $dbh->prepare("SELECT foo FROM mytable"), row_count_sth => $dbh->prepare("SELECT COUNT(*) FROM mytable"), ); # or my $ary = ArrayData::DBI->new( dsn => "DBI:mysql:database=mydb", user => "...", password => "...", table => "mytable", column => "mycolumn", );
This is an ArrayData:: module to get array elements from a DBI query.
ArrayData::
Please visit the project's homepage at https://metacpan.org/release/ArrayDataRoles-Standard.
Source repository is at https://github.com/perlancar/perl-ArrayDataRoles-Standard.
Please report any bugs or feature requests on the bugtracker website https://github.com/perlancar/perl-ArrayDataRoles-Standard/issues
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
DBI
ArrayData
perlancar <perlancar@cpan.org>
This software is copyright (c) 2021 by perlancar@cpan.org.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install ArrayDataRoles::Standard, copy and paste the appropriate command in to your terminal.
cpanm
cpanm ArrayDataRoles::Standard
CPAN shell
perl -MCPAN -e shell install ArrayDataRoles::Standard
For more information on module installation, please visit the detailed CPAN module installation guide.