Wraps results returned by queries on IBM_DB.
Return the number of rows affected.
# File lib/sequel/adapters/ibmdb.rb, line 130 def affected IBM_DB.num_rows(@stmt) end
If this statement is a prepared statement, execute it on the database with the given values.
# File lib/sequel/adapters/ibmdb.rb, line 136 def execute(*values) IBM_DB.execute(@stmt, values) end
Return the results of a query as an array of values.
# File lib/sequel/adapters/ibmdb.rb, line 141 def fetch_array IBM_DB.fetch_array(@stmt) if @stmt end
Return the field name at the given column in the result set.
# File lib/sequel/adapters/ibmdb.rb, line 146 def field_name(ind) IBM_DB.field_name(@stmt, ind) end
Return the field precision for the given field name in the result set.
# File lib/sequel/adapters/ibmdb.rb, line 156 def field_precision(key) IBM_DB.field_precision(@stmt, key) end
Return the field type for the given field name in the result set.
# File lib/sequel/adapters/ibmdb.rb, line 151 def field_type(key) IBM_DB.field_type(@stmt, key) end
Free the memory related to this statement.
# File lib/sequel/adapters/ibmdb.rb, line 161 def free IBM_DB.free_stmt(@stmt) end
Generated with the Darkfish Rdoc Generator 2.