mirror of
https://gitea.invidious.io/iv-org/shard-crystal-db.git
synced 2024-08-15 00:53:32 +00:00
Add missing args handling in pool_statement
This commit is contained in:
parent
1ada763b8a
commit
13b236e925
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue