Abstract base class for adapter-specific Command subclasses
Create a new Command object on the specified connection
# File lib/data_objects/command.rb, line 9 def initialize(connection, text) raise ArgumentError.new("+connection+ must be a DataObjects::Connection") unless DataObjects::Connection === connection @connection, @text = connection, text end
Execute this command and return no dataset
# File lib/data_objects/command.rb, line 15 def execute_non_query(*args) raise NotImplementedError.new end
Execute this command and return a DataObjects::Reader for a dataset
# File lib/data_objects/command.rb, line 20 def execute_reader(*args) raise NotImplementedError.new end
Generated with the Darkfish Rdoc Generator 2.