Class DataObjects::Result
In: lib/data_objects/result.rb
Parent: Object

The Result class is returned from Connection#execute_non_query.

Methods

new   to_i  

Attributes

affected_rows  [RW]  The number of rows affected by the Command
insert_id  [RW]  The ID of a row inserted by the Command

Public Class methods

Create a new Result. Used internally in the adapters.

Public Instance methods

Return the number of affected rows

[Validate]