Class: Hyperion::Postgres::DbStrategy

Inherits:
Object
  • Object
show all
Defined in:
lib/hyperion/postgres/db_strategy.rb

Instance Method Summary collapse

Instance Method Details

#process_count_result(result) ⇒ Object



9
10
11
# File 'lib/hyperion/postgres/db_strategy.rb', line 9

def process_count_result(result)
  result['count']
end

#process_result(given_record, result) ⇒ Object



5
6
7
# File 'lib/hyperion/postgres/db_strategy.rb', line 5

def process_result(given_record, result)
  result[0]
end