Data::AnyXfer::From::DBIC - transfer from from DBIC sources
use Moo; use MooX::Types::MooseLike::Base qw(:all); extends 'Data::AnyXfer'; with 'Data::AnyXfer::From::DBIC'; use MyResultClass; has '+from_rs' => ( default => sub { MyResultClass->resultset('MyTableName') } );
This role configures Data::AnyXfer to use a DBIx::Class::ResultSet as a data source.
This software is copyright (c) 2019, Anthony Lucas.
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 Data::AnyXfer, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Data::AnyXfer
CPAN shell
perl -MCPAN -e shell install Data::AnyXfer
For more information on module installation, please visit the detailed CPAN module installation guide.