Class: Avm::Oracle::Connection::Cursor

Inherits:
SimpleDelegator
  • Object
show all
Defined in:
lib/avm/oracle/connection/cursor.rb

Instance Method Summary collapse

Instance Method Details

#fetch_hashObject



7
8
9
# File 'lib/avm/oracle/connection/cursor.rb', line 7

def fetch_hash
  sanitized_fetch_hash
end

#sanitized_fetch_hashObject



11
12
13
14
15
16
# File 'lib/avm/oracle/connection/cursor.rb', line 11

def sanitized_fetch_hash
  r = super_fetch_hash
  return nil if r.nil?

  r.transform_keys { |k| k.downcase.to_sym }
end

#super_fetch_hashObject



18
19
20
# File 'lib/avm/oracle/connection/cursor.rb', line 18

def super_fetch_hash
  __getobj__.fetch_hash
end