mirror of
https://gitea.invidious.io/iv-org/shard-crystal-db.git
synced 2024-08-15 00:53:32 +00:00
arguments support
This commit is contained in:
parent
1572062501
commit
8a8b86e31a
2 changed files with 34 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue