Query: alzabo::runtime::rowcursor
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Alzabo::Runtime::RowCursor(3pm) User Contributed Perl Documentation Alzabo::Runtime::RowCursor(3pm)NAMEAlzabo::Runtime::RowCursor - Cursor that returns "Alzabo::Runtime::Row" objectsSYNOPSISuse Alzabo::Runtime::RowCursor; my $cursor = $schema->table('foo')->all_rows; while ( my $row = $cursor->next ) { print $row->select('foo'), " "; }DESCRIPTIONObjects in this class are used to return "Alzabo::Runtime::Row" objects for queries. The cursor does not preload objects but creates them on demand, which is much more efficient. For more details on the rational please see the RATIONALE FOR CURSORS section in Alzabo::Design.INHERITS FROM"Alzabo::Runtime::Cursor"METHODSnext Returns the next "Alzabo::Runtime::Row" object or undef if no more are available. all_rows Returns all the rows available from the current point onwards. This means that if there are five rows that will be returned when the object is created and you call "next" twice, calling all_rows after it will only return three. reset Resets the cursor so that the next "next" call will return the first row of the set. count Returns the number of rows returned by the cursor so far. next_as_hash Return the next row in a hash, where the hash key is the table name and the hash value is the row object.AUTHORDave Rolsky, <autarch@urth.org> perl v5.8.8 2007-12-23 Alzabo::Runtime::RowCursor(3pm)
Related Man Pages |
---|
alzabo(3pm) - debian |
alzabo::design(3pm) - debian |
alzabo::runtime::inserthandle(3pm) - debian |
alzabo::runtime::rowcursor(3pm) - debian |
alzabo::schema(3pm) - debian |
Similar Topics in the Unix Linux Community |
---|
Row to Columns |
SILC Runtime Toolkit 1.2-beta2 (Default branch) |
Plz Help me to find GNU C++ Runtime Library |
Shell Script: Traverse Database Table Row by Row |
Add Row from First Row (Split Row) |