mirror of
https://gitea.invidious.io/iv-org/shard-crystal-db.git
synced 2024-08-15 00:53:32 +00:00
allow query to receive any object arguments
This commit is contained in:
parent
5b23114095
commit
3464a1d1cc
3 changed files with 56 additions and 16 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue