|
PostgreSQL database called 'products': |
|
|
$dbh = connect('dbi:Pg:dbname=test', $user, $pswd); |
|
|
Oracle database (or alias) defined in Oracle config file |
|
|
$dbh = connect('dbi:Oracle:products', $user, $pswd) |
|
|
CSV file called 'products.csv': |
|
|
$dbh = connect('DBI:CSV:');
$dbh->{'csv_tables'}->{'products'} = {
'file' => 'products.csv',
'eol' => "\n"
}; |
|