sub retrieve_all { shift->search_literal('1') }
sub retrieve_from_sql { shift->search_literal(@_) }
+sub count_all { shift->count_literal('1') }
+ # Contributed by Numa. No test for this though.
+
1;
my ($dsn, $user, $pass) = @ENV{map { "DBICTEST_MYSQL_${_}" } qw/DSN USER PASS/};
-warn "$dsn $user $pass";
+#warn "$dsn $user $pass";
plan skip_all, 'Set $ENV{DBICTEST_MYSQL_DSN}, _USER and _PASS to run this test'
unless ($dsn && $user);
my ($dsn, $user, $pass) = @ENV{map { "DBICTEST_PG_${_}" } qw/DSN USER PASS/};
-warn "$dsn $user $pass";
+#warn "$dsn $user $pass";
plan skip_all, 'Set $ENV{DBICTEST_PG_DSN}, _USER and _PASS to run this test'
unless ($dsn && $user);