Class: SQLite3::ResultSet
- Inherits:
-
Object
- Object
- SQLite3::ResultSet
- Defined in:
- lib/og/adapter/sqlite/override.rb
Overview
:nodoc: all
Instance Method Summary collapse
Instance Method Details
#each_row ⇒ Object
11 12 13 14 15 |
# File 'lib/og/adapter/sqlite/override.rb', line 11 def each_row each do |row| yield(row, 0) end end |
#first_value ⇒ Object
17 18 19 20 21 |
# File 'lib/og/adapter/sqlite/override.rb', line 17 def first_value val = self.next[0] close return val end |