Class: SQLite3::ResultSet

Inherits:
Object
  • Object
show all
Defined in:
lib/og/adapter/sqlite/override.rb

Overview

:nodoc: all

Instance Method Summary collapse

Instance Method Details

#each_rowObject



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_valueObject



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