X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FResultSet.pm;h=88545421d2ed3d6003642033ab04ef421e87b186;hb=dc64f1b5181dd959363bb2e3ad8363b1081792f6;hp=c29d6048bc0f5a88f6e19861142a01e284397918;hpb=6a9530d1a7d770ca7101bfacbb954fe2b075e722;p=dbsrgits%2FDBIx-Class-Historic.git diff --git a/lib/DBIx/Class/ResultSet.pm b/lib/DBIx/Class/ResultSet.pm index c29d604..8854542 100644 --- a/lib/DBIx/Class/ResultSet.pm +++ b/lib/DBIx/Class/ResultSet.pm @@ -1636,6 +1636,9 @@ sub _normalize_populate_args { Return Value a L object for the current resultset. Only makes sense for queries with a C attribute. +To get the full count of entries for a paged resultset, call +C on the L object. + =cut sub pager { @@ -1807,7 +1810,7 @@ sub _remove_alias { return \%unaliased; } -=head2 as_query +=head2 as_query (EXPERIMENTAL) =over 4 @@ -2857,6 +2860,10 @@ on it. If L attribute is not specified it defualts to 10 rows per page. +When you have a paged resultset, L will only return the number +of rows in the page. To get the total, use the L and call +C on it. + =head2 rows =over 4