You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
func (a *bunApmHook) BeforeQuery(ctx context.Context, event *bun.QueryEvent) context.Context {
fmt.Println("Q", event.Query) //this contains the params
fmt.Println("T", event.QueryTemplate) // this also contains the params
But I wang like this:
select name from xxx where id=?
select score from yyy where name = '?'
I don't want the param.
I think this is a bug.
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had activity in the last 30 days. If there is no update within the next 7 days, this issue will be closed.
func (a *bunApmHook) BeforeQuery(ctx context.Context, event *bun.QueryEvent) context.Context {
fmt.Println("Q", event.Query) //this contains the params
fmt.Println("T", event.QueryTemplate) // this also contains the params
But I wang like this:
select name from xxx where id=?
select score from yyy where name = '?'
I don't want the param.
I think this is a bug.
The text was updated successfully, but these errors were encountered: