Skip to content

Commit

Permalink
fix: add typedoc for getDbStatement
Browse files Browse the repository at this point in the history
Signed-off-by: Naseem <[email protected]>
  • Loading branch information
Naseem committed Aug 28, 2020
1 parent fd9f2be commit 73d1864
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions plugins/node/opentelemetry-plugin-mysql/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,11 @@ function getJDBCString(
return jdbcString;
}

/**
* Conjures up the value for the db.statement attribute by formatting a SQL query.
*
* @returns the database statement being executed.
*/
export function getDbStatement(
query: string | Query | QueryOptions,
format: Function,
Expand Down

0 comments on commit 73d1864

Please sign in to comment.