mirror of
https://github.com/lightninglabs/lightning-terminal.git
synced 2026-08-13 12:33:36 +02:00
Merge pull request #1310 from ViktorT-11/2026-05-use-fillPlaceHolders-in-CountActions
[sql-73] use `fillPlaceHolders` in `CountActions`
This commit is contained in:
commit
5c78d4c96a
2 changed files with 2 additions and 2 deletions
|
|
@ -85,7 +85,7 @@ func (q *Queries) CountActions(ctx context.Context,
|
|||
arg ActionQueryParams) (int64, error) {
|
||||
|
||||
query, args := buildActionsQuery(arg, true)
|
||||
row := q.db.QueryRowContext(ctx, query, args...)
|
||||
row := q.db.QueryRowContext(ctx, fillPlaceHolders(query), args...)
|
||||
|
||||
var count int64
|
||||
err := row.Scan(&count)
|
||||
|
|
|
|||
|
|
@ -85,7 +85,7 @@ func (q *Queries) CountActions(ctx context.Context,
|
|||
arg ActionQueryParams) (int64, error) {
|
||||
|
||||
query, args := buildActionsQuery(arg, true)
|
||||
row := q.db.QueryRowContext(ctx, query, args...)
|
||||
row := q.db.QueryRowContext(ctx, fillPlaceHolders(query), args...)
|
||||
|
||||
var count int64
|
||||
err := row.Scan(&count)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue