github.com/jackc/pgx/v5/pgconn.CommandTag.String (method, view implemented interface methods)
4 uses
github.com/jackc/pgx/v5/pgconn (current package)
pgconn.go#L830: func (ct CommandTag) String() string {
github.com/jackc/pgx/v5
tx.go#L198: if commandTag.String() == "ROLLBACK" {
github.com/jackc/pgx/v5/tracelog
tracelog.go#L197: tl.log(ctx, conn, LogLevelInfo, "Query", map[string]any{"sql": queryData.sql, "args": logQueryArgs(queryData.args), tl.Config.TimeKey: interval, "commandTag": data.CommandTag.String()})
tracelog.go#L220: tl.log(ctx, conn, LogLevelInfo, "BatchQuery", map[string]any{"sql": data.SQL, "args": logQueryArgs(data.Args), "commandTag": data.CommandTag.String()})