NAME
Yancy::Backend::Role::DBI - Role for backends that use DBI
VERSION
version 1.088
SYNOPSIS
package Yancy::Backend::RDBMS;
use Role::Tiny 'with';
with 'Yancy::Backend::Role::DBI';
# Return a database handle
sub dbh { ... }
DESCRIPTION
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.
SEE ALSO
AUTHOR
Doug Bell <preaction@cpan.org>
COPYRIGHT AND LICENSE
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.