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