Fixes to CDBICompat::HasMany mapping method support, with thanks to bricas
[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(@_) }
19e3ec11 7sub retrieve_all { shift->search_literal('1', @_) }
656796f2 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;