This class encapsulates a Result returned from
calling exec_query
on any database connection adapter. For
example:
x = ActiveRecord::Base.connection.exec_query('SELECT * FROM foo')
x # => #<ActiveRecord::Result:0xdeadbeef>
Methods
Included Modules
Attributes
[R] | column_types | |
[R] | columns | |
[R] | rows |
Class Public methods
new(columns, rows, column_types = {})
Link
Instance Public methods
[](idx)
Link
each()
Link
empty?()
Link
Returns true if there are no records.
initialize_copy(other)
Link
last()
Link
to_ary()
Link