projects
/
dbsrgits/DBIx-Class.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Added Numa's count_all, removed warns from mysql and pg tests
[dbsrgits/DBIx-Class.git]
/
lib
/
DBIx
/
Class
/
CDBICompat
/
Retrieve.pm
diff --git
a/lib/DBIx/Class/CDBICompat/Retrieve.pm
b/lib/DBIx/Class/CDBICompat/Retrieve.pm
index
b7fca68
..
ef99720
100644
(file)
--- a/
lib/DBIx/Class/CDBICompat/Retrieve.pm
+++ b/
lib/DBIx/Class/CDBICompat/Retrieve.pm
@@
-7,4
+7,7
@@
sub retrieve { shift->find(@_) }
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;