Yancy::Backend::Role::DBI - Role for backends that use DBI
version 1.088
package Yancy::Backend::RDBMS; use Role::Tiny 'with'; with 'Yancy::Backend::Role::DBI'; # Return a database handle sub dbh { ... }
This is a role that adds the below methods based on a dbh method that returns a DBI object and a table_info method that calls "table_info" in DBI with the correct arguments for the current database.
dbh
table_info
Yancy::Backend
Doug Bell <preaction@cpan.org>
This software is copyright (c) 2021 by Doug Bell.
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 Yancy, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Yancy
CPAN shell
perl -MCPAN -e shell install Yancy
For more information on module installation, please visit the detailed CPAN module installation guide.