1DBIx::Class::Storage::DUBsIe:r:CCuornstorri(b3u)ted PerlDBDIoxc:u:mCelnatsast:i:oSntorage::DBI::Cursor(3)
2
3
4
6 DBIx::Class::Storage::DBI::Cursor - Object representing a query cursor
7 on a resultset.
8
10 my $cursor = $schema->resultset('CD')->cursor();
11 my $first_cd = $cursor->next;
12
14 A Cursor represents a query cursor on a DBIx::Class::ResultSet object.
15 It allows for traversing the result set with "next", retrieving all
16 results with "all" and resetting the cursor with "reset".
17
18 Usually, you would use the cursor methods built into
19 DBIx::Class::ResultSet to traverse it. See "next" in
20 DBIx::Class::ResultSet, "reset" in DBIx::Class::ResultSet and "all" in
21 DBIx::Class::ResultSet for more information.
22
24 new
25 Returns a new DBIx::Class::Storage::DBI::Cursor object.
26
27 next
28 Arguments: none
29 Return Value: \@row_columns
30
31 Advances the cursor to the next row and returns an array of column
32 values (the result of "fetchrow_array" in DBI method).
33
34 all
35 Arguments: none
36 Return Value: \@row_columns+
37
38 Returns a list of arrayrefs of column values for all rows in the
39 DBIx::Class::ResultSet.
40
41 reset
42 Resets the cursor to the beginning of the DBIx::Class::ResultSet.
43
44
45
46perl v5.12.0 2010-05-1D2BIx::Class::Storage::DBI::Cursor(3)