The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

M3::ServerView::ResultSet - Contents returned by a view

DESCRIPTION

Instances of this class functions as an iterator for iterating over results returned when searching a view.

INTERFACE

CLASS METHODS

new ( ARRAY )

Creates a new result set with the contents of the array reference ARRAY.

INSTANCE METHODS

all

Returns a list of all items in the result set.

count

Returns the number of items in the result set.

first

Returns the first item in the result set or undef if the result set is empty.

next

Returns the next item in the result set or undef if there's no more items.

reset

Resets the result set to start from the beginning again.