We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdcc8fc commit 09566edCopy full SHA for 09566ed
packages/tracing/src/integrations/mysql.ts
@@ -39,12 +39,11 @@ export class Mysql implements Integration {
39
return;
40
}
41
42
- /**
43
- * function (query, callback) => void
44
- * function (query, params, callback) => void
45
- * function (query) => Promise
46
- * function (query, params) => Promise
47
- */
+ // The original function will have one of these signatures:
+ // function (query, callback) => void
+ // function (query, params, callback) => void
+ // function (query) => Promise
+ // function (query, params) => Promise
48
fill(connection, 'query', function(orig: () => void | Promise<unknown>) {
49
return function(this: unknown, options: unknown, values: unknown, callback: unknown) {
50
const scope = getCurrentHub().getScope();
0 commit comments