Class: DataObjects::Reader

Class | DataObjects::Reader
In: | lib/data_objects/reader.rb
Parent: | Object

Abstract class to read rows from a query result

### Methods

close field_count fields next! values

### Public Instance methods

close()

Close the reader discarding any unread results.

field_count()

Return the number of fields in the result set.

fields()

Return the array of field names

next!()

Discard the current row (if any) and read the next one (returning true), or return nil if there is no further row.

values()

Return the array of field values for the current row. Not legal after next! has returned false or before it‘s been called

[Validate]