allow query to receive any object arguments

This commit is contained in:
Brian J. Cardiff 2016-04-14 17:33:39 -03:00
parent 5b23114095
commit 3464a1d1cc
3 changed files with 56 additions and 16 deletions

View file

@ -42,7 +42,7 @@ class DummyDriver < DB::Driver
super(connection)
end
protected def perform_query(args : Slice(DB::Any))
protected def perform_query(args : Enumerable)
set_params args
DummyResultSet.new self, @query
end