chore: added log to print query

This commit is contained in:
nikhilmantri0902 2025-09-25 12:57:08 +05:30
parent a16ab114f5
commit f5e0a128fe

View File

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