Added Numa's count_all, removed warns from mysql and pg tests
[dbsrgits/DBIx-Class.git] / lib / DBIx / Class / CDBICompat / Retrieve.pm
CommitLineData
656796f2 1package DBIx::Class::CDBICompat::Retrieve;
2
3use strict;
4use warnings FATAL => 'all';
5
6sub retrieve { shift->find(@_) }
7sub retrieve_all { shift->search_literal('1') }
8sub retrieve_from_sql { shift->search_literal(@_) }
9
cba994a1 10sub count_all { shift->count_literal('1') }
11 # Contributed by Numa. No test for this though.
12
656796f2 131;