Skip to content

Commit de0d3b0

Browse files
committed
docs(README): update example
1 parent 7ac38be commit de0d3b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ Below is a table containing all of the possible configuration options for `serve
149149

150150
| Property | Type | Description | Default |
151151
| -------- | ---- | ----------- | ------- |
152-
| library | `Function` | Custom mysql library | `require('mysql')` |
152+
| library | `Function` | Custom mysql library | `require('mysql2')` |
153153
| promise | `Function` | Custom promise library | `Promise` |
154154
| backoff | `String` or `Function` | Backoff algorithm to be used when retrying connections. Possible values are `full` and `decorrelated`, or you can also specify your own algorithm. See [Connection Backoff](#connection-backoff) for more information. | `full` |
155155
| base | `Integer` | Number of milliseconds added to random backoff values. | `2` |
@@ -207,7 +207,7 @@ library: require('aws-sdk-xray-node')(require('mysql'));
207207
```
208208

209209
### Consideration when using TypeScript
210-
Currently, our type definitions rely on the `mysql` module.
210+
Currently, our type definitions rely on the `mysql2` module.
211211
In order to use a custom library, you will need to do something along the following snippet:
212212

213213
```typescript

0 commit comments

Comments
 (0)