Skip to content

Commit

Permalink
fix Cursor SYNOPSIS
Browse files Browse the repository at this point in the history
  • Loading branch information
rkitover authored and ribasushi committed Nov 3, 2012
1 parent 0d8817b commit c564f8c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion lib/DBIx/Class/Cursor.pm
Expand Up @@ -13,7 +13,12 @@ resultset.
=head1 SYNOPSIS
my $cursor = $schema->resultset('CD')->cursor();
my $first_cd = $cursor->next;
# raw values off the database handle in resultset columns/select order
my @next_cd_column_values = $cursor->next;
# list of all raw values as arrayrefs
my @all_cds_column_values = $cursor->all;
=head1 DESCRIPTION
Expand Down
7 changes: 6 additions & 1 deletion lib/DBIx/Class/Storage/DBI/Cursor.pm
Expand Up @@ -20,7 +20,12 @@ resultset.
=head1 SYNOPSIS
my $cursor = $schema->resultset('CD')->cursor();
my $first_cd = $cursor->next;
# raw values off the database handle in resultset columns/select order
my @next_cd_column_values = $cursor->next;
# list of all raw values as arrayrefs
my @all_cds_column_values = $cursor->all;
=head1 DESCRIPTION
Expand Down

0 comments on commit c564f8c

Please sign in to comment.