Add missing args handling in pool_statement
This commit is contained in:
parent
1ada763b8a
commit
13b236e925
|
@ -30,8 +30,8 @@ module DB
|
|||
end
|
||||
|
||||
# See `QueryMethods#scalar`
|
||||
def scalar(*args)
|
||||
statement_with_retry &.scalar(*args)
|
||||
def scalar(*args_, args : Array? = nil)
|
||||
statement_with_retry &.scalar(*args_, args: args)
|
||||
end
|
||||
|
||||
# builds a statement over a real connection
|
||||
|
|
Loading…
Reference in New Issue