NAME

Class::Moco::DataBase - Data Base Handler for Class::Moco

SYNOPSIS

package MyDataBase;
use base qw(Class::Moco::DataBase);

__PACKAGE__->dsn('dbi:mysql:myapp');
__PACKAGE__->username('test');
__PACKAGE__->password('test');

1;

# In your scripts
MyDataBase->execute('select 1');

SEE ALSO

Class::Moco

AUTHOR

Junya Kondo, <jkondo@hatena.com>

COPYRIGHT AND LICENSE

Copyright (C) Hatena Inc. All Rights Reserved.

This library is free software; you may redistribute it and/or modify it under the same terms as Perl itself.