Added Numa's count_all, removed warns from mysql and pg tests
[dbsrgits/DBIx-Class.git] / lib / DBIx / Class / CDBICompat / Retrieve.pm
index b7fca68..ef99720 100644 (file)
@@ -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;