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
|
||||
|
||||
# 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 a new issue