Class: OCI8::Cursor
- Inherits:
-
Object
- Object
- OCI8::Cursor
- Defined in:
- lib/og/adapter/oracle/override.rb
Overview
:nodoc: all
Instance Method Summary collapse
Instance Method Details
#blank? ⇒ Boolean
3 4 5 |
# File 'lib/og/adapter/oracle/override.rb', line 3 def blank? 0 == row_count end |
#each_row ⇒ Object
11 12 13 14 15 16 17 |
# File 'lib/og/adapter/oracle/override.rb', line 11 def each_row idx = 0 while row = fetch yield(row, idx) idx += 1 end end |
#first_value ⇒ Object
19 20 21 |
# File 'lib/og/adapter/oracle/override.rb', line 19 def first_value fetch[0] end |
#next ⇒ Object
7 8 9 |
# File 'lib/og/adapter/oracle/override.rb', line 7 def next fetch end |