Permalink
Browse files

replaced is_empty references with is_finished in docs

It appears a method name change happened at some point but the docs
were not changed to reflect it
  • Loading branch information...
1 parent 019a696 commit c702d8dbca3ae59fd77858db152e393f3c0de9f0 @dsteinbrunner dsteinbrunner committed Nov 20, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/Data/ObjectDriver/ResultSet.pm
@@ -483,7 +483,7 @@ Data::ObjectDriver::ResultSet - Manage a DB query
$result->add_limit(10);
$result->add_offset(100);
- while (not $result->is_empty) {
+ while (not $result->is_finished) {
my $widget = $result->next;
# Do stuff with $widget
@@ -865,7 +865,7 @@ Arguments:
=head2 slice
-Return a slice of the result set. This is logically equivalent to setting a limit and offset and then retrieving all the objects via I<->next>. If you call I<slice> and then call I<next>, you will get I<undef> and additionally I<is_empty> will be true.
+Return a slice of the result set. This is logically equivalent to setting a limit and offset and then retrieving all the objects via I<->next>. If you call I<slice> and then call I<next>, you will get I<undef> and additionally I<is_finished> will be true.
Arguments:

0 comments on commit c702d8d

Please sign in to comment.