mirror of
https://github.com/SigNoz/signoz.git
synced 2025-12-17 15:36:48 +00:00
chore: added log to print query
This commit is contained in:
parent
a16ab114f5
commit
f5e0a128fe
@ -192,6 +192,8 @@ func (q *builderQuery[T]) Execute(ctx context.Context) (*qbtypes.Result, error)
|
|||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fmt.Println("====> final Query:", stmt.Query)
|
||||||
|
fmt.Println("====> final Args:", stmt.Args)
|
||||||
// Execute the query with proper context for partial value detection
|
// Execute the query with proper context for partial value detection
|
||||||
result, err := q.executeWithContext(ctx, stmt.Query, stmt.Args)
|
result, err := q.executeWithContext(ctx, stmt.Query, stmt.Args)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user