1 package Shiar_Sheet::DB;
10 'DBI:Pg:dbname=sheet;host=localhost', 'sheetadmin', 'fairuse',
11 ) or die "database not configured\n";
15 return $db if $db and $db->dbh->ping;
16 $db = DBIx::Simple->new(@dbinfo[0..2], {
20 $db->abstract->{array_datatypes}++;