Commit | Line | Data |
---|---|---|
656796f2 | 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 | ||
cba994a1 | 10 | sub count_all { shift->count_literal('1') } |
11 | # Contributed by Numa. No test for this though. | |
12 | ||
656796f2 | 13 | 1; |