Test::Chado::Role::HasDBManager
version v4.1.1
package MyMooClass; with 'Test::Chado::Role::HasDBManager';
Now implement all the required attributes given below
Moo role based interface to be consumed by backend specific classes for managing database
Datasource dsn
Extra parameters for database connection, by default RaiseError and AutoCommit are set.
Deploy schema using DBI
First drops the schema, the reloads it.
Database name. The method _build_database should be implemented by consuming class.
Database handler, a DBI object. The method <_build_dbh> should be implemented by consuming class.
Name of the database backend. It is being set from dsn value.The method <_build_driver> should be implemented by consuming class.
Location of the database specific ddl file. Should be implemented by consuming class.
Indicates whether DBIx::Class::Schema should be dynamic or comes from Bio::Chado::Schema. Should be implemented by consuming class.
Load the database schema from the ddl file. Should be implemented by consuming class.
Full path for the command line client. Return undef in case not available. Should be implemented by consuming class.
Use backend specific command line tool to deploy the schema. Should be implemented by consuming class.
Drop the loaded schema. Should be implemented by consuming class.
Create database. Should be implemented by consuming class.
Drop database. Should be implemented by consuming class.
Database user
Database password
Siddhartha Basu <biosidd@gmail.com>
This software is copyright (c) 2011 by Siddhartha Basu.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
3 POD Errors
The following errors were encountered while parsing the POD:
'=item' outside of any '=over'
You forgot a '=back' before '=head1'
To install Test::Chado, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::Chado
CPAN shell
perl -MCPAN -e shell install Test::Chado
For more information on module installation, please visit the detailed CPAN module installation guide.