Add missing args handling in pool_statement

This commit is contained in:
Brian J. Cardiff 2019-09-19 15:05:40 -03:00
parent 1ada763b8a
commit 13b236e925

View file

@ -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