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