| Class | ZOOM::ResultSet |
| In: |
src/rbzoomquery.c
|
| Parent: | Object |
key: either an integer, a range or an interval of 2 integers.
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]
Returns: one or many references to ZOOM::Record objects.
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.
Returns: self.
key: the name of the option, as a string.
Gets the value of a result set‘s option.
Returns: the value of the given option, as a string, integer or boolean.