Method: SQLite3::Statement#get_first_value
- Defined in:
- lib/drip3.rb
#get_first_value(*bind_vars) ⇒ Object
20 21 22 23 |
# File 'lib/drip3.rb', line 20 def get_first_value(*bind_vars) execute(*bind_vars).each { |row| return row[0] } nil end |