Abstract
The result set object is a container for records returned from a target.
Inherits from: Object ← ZOOM::ResultSet .
Included in: ZOOM .
Index: [] each_record get_option length records set_option size
Instance methods | |
---|---|
[] | [](key) |
Retrieves one or many records from the result set, according to the given key. # Gets the first record. rset[0] # Gets the first, second and third records. rset[1..3] # Gets three records starting from the second one. rset[2, 3]
| |
each_record | each_record { |record| ... } |
Parses the records inside the result set and call the given block for each record, passing a reference to a ZOOM::Record object as parameter.
| |
get_option | get_option(key) |
Gets the value of a result set's option.
| |
length | length |
Synonym for ZOOM::ResultSet#size.
| |
records | records |
Lists the records inside the result set.
| |
set_option | set_option(key, value) |
Sets an option on the result set.
| |
size | size |
|