Method: Sequel::IBMDB::Connection#execute
- Defined in:
- lib/sequel/adapters/ibmdb.rb
#execute(sql) ⇒ Object
Execute the given SQL on the database, and return a Statement instance holding the results.
85 86 87 88 89 |
# File 'lib/sequel/adapters/ibmdb.rb', line 85 def execute(sql) stmt = IBM_DB.exec(@conn, sql) raise Error.new(error_msg, error_sqlstate) unless stmt Statement.new(stmt) end |