123456789_123456789_123456789_123456789_123456789_

Class: SQLite3::HashResultSet

Do not use. This class is for internal use only.
Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, ResultSet
Instance Chain:
self, ResultSet, Enumerable
Inherits: SQLite3::ResultSet
Defined in: lib/sqlite3/resultset.rb

Class Method Summary

ResultSet - Inherited

.new

Create a new ResultSet attached to the given database, using the given sql text.

Instance Attribute Summary

ResultSet - Inherited

#closed?

Queries whether the underlying statement has been closed or not.

#eof?

Query whether the cursor has reached the end of the result set or not.

Instance Method Summary

ResultSet - Inherited

#close

Closes the statement that spawned this result set.

#columns

Returns the names of the columns returned by this result set.

#each

Required by the Enumerable mixin.

#each_hash

Provides an internal iterator over the rows of the result set where each row is yielded as a hash.

#next

Obtain the next row from the cursor.

#next_hash

Return the next row as a hash.

#reset

Reset the cursor, so that a result set which has reached end-of-file can be rewound and reiterated.

#types

Returns the types of the columns returned by this result set.

Constructor Details

This class inherits a constructor from SQLite3::ResultSet

Instance Method Details

#next

Alias for ResultSet#next_hash.

[ GitHub ]

  
# File 'lib/sqlite3/resultset.rb', line 94

alias_method :next, :next_hash