NAME

Sweet::DatabaseConnection

SYNOPSIS

package My::DatabaseConnection;
use Moose;

extends 'Sweet::DatabaseConnection';

with 'Sweet::Config';

ATTRIBUTES

connection_attributes

You may want to override it in a child class, for example to connect to Oracle, with

sub _build_connection_attributes {
    return {
        PrintError  => 1,
        ora_charset => 'AL32UTF8',
    }
}

datasource

password

username