Storm::Query::Select::Iterator - Iterates over the results of a select query
$query = $storm->select( 'Person' )->where( '.first_name', '=', 'Homer' ); $iter = $query->results; $iter->next; # get the next results $iter->remaining; # get the remaining results $iter->reset; # reset the query, to execute it again $iter->all; # get all results
Returns the entire result set as a list.
Returns the next object in the result set or undef if there is none.
Returns all of the remaining objects in the result set as a list.
Re-executes the query, resetting the current item to the first result.
Jeffrey Ray Hallock <jeffrey.hallock at gmail dot com>
Copyright (c) 2010 Jeffrey Ray Hallock. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.