__PACKAGE__->mk_accessors(qw( ));
+our $schema; # the schema is a singleton
+
# _new_schema
# Internal helper function (not a method!). This creates a new
# database connection from the data given in the current context, and
password => $db_passwd,
%encoding_attr,
RaiseError => $ENV{DEBUG} ? 1 : 0,
+ PrintError => 1,
unsafe => 1,
+ quote_names => 1,
on_connect_do => [
$encoding_query || (),
$tz_query || (),
This database handle is cached for future use: if you call
C<$database-E<gt>schema> twice, you will get the same handle both
-times. If you need a second database handle, use C<&new_schema> and
-possibly C<&set_schema>.
+times. If you need a second database handle, use C<&new_schema>.
=cut