arguments support

This commit is contained in:
Brian J. Cardiff 2016-01-29 17:13:05 -03:00
parent 1572062501
commit 8a8b86e31a
2 changed files with 34 additions and 2 deletions

View file

@ -8,7 +8,15 @@ class DummyDriver < DB::Driver
super(driver)
end
def exec(*args)
protected def add_parameter(index : Int32, value)
raise "not implemented"
end
protected def add_parameter(name : String, value)
raise "not implemented"
end
protected def execute
DummyResultSet.new self, @items.each
end
end