Class: DataObjects::Result

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

new(command, affected_rows, insert_id = nil)

Create a new Result. Used internally in the adapters.

### Public Instance methods

to_i()

Return the number of affected rows

[Validate]