Query: dbix::class::storage::dbi::cursor
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
DBIx::Class::Storage::DBI::Cursor(3pm) User Contributed Perl Documentation DBIx::Class::Storage::DBI::Cursor(3pm)NAMEDBIx::Class::Storage::DBI::Cursor - Object representing a query cursor on a resultset.SYNOPSISmy $cursor = $schema->resultset('CD')->cursor(); my $first_cd = $cursor->next;DESCRIPTIONA Cursor represents a query cursor on a DBIx::Class::ResultSet object. It allows for traversing the result set with "next", retrieving all results with "all" and resetting the cursor with "reset". Usually, you would use the cursor methods built into DBIx::Class::ResultSet to traverse it. See "next" in DBIx::Class::ResultSet, "reset" in DBIx::Class::ResultSet and "all" in DBIx::Class::ResultSet for more information.METHODSnew Returns a new DBIx::Class::Storage::DBI::Cursor object. next Arguments: none Return Value: @row_columns Advances the cursor to the next row and returns an array of column values (the result of "fetchrow_array" in DBI method). all Arguments: none Return Value: @row_columns+ Returns a list of arrayrefs of column values for all rows in the DBIx::Class::ResultSet. reset Resets the cursor to the beginning of the DBIx::Class::ResultSet. perl v5.14.2 2011-05-10 DBIx::Class::Storage::DBI::Cursor(3pm)
Similar Topics in the Unix Linux Community |
---|
Cursor positioning thru VI Editor |
Cursor position |
Cursor Global Position |
perl: fetchall_arrayref() question |
Store output of DB Cursor to a txt file |