Class: DataObjects::Command

Class | DataObjects::Command
In: | lib/data_objects/command.rb
Parent: | Object

Abstract base class for adapter-specific Command subclasses

### Methods

execute_non_query execute_reader new set_types to_s

### Attributes

connection | [R] | The Connection on which the command will be run

### Public Class methods

new(connection, text)

Create a new Command object on the specified connection

### Public Instance methods

execute_non_query(*args)

Execute this command and return no dataset

execute_reader(*args)

Execute this command and return a DataObjects::Reader for a dataset

set_types(column_types)

Assign an array of types for the columns to be returned by this command

to_s()

Display the command text

[Validate]