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 6e813c2 commit 6f785f7Copy full SHA for 6f785f7
README.md
@@ -200,6 +200,14 @@ Update the connection authentication settings.
200
201
Throws an error on failure.
202
203
+### `conn:close()`
204
+
205
+Close the individual connection or return it to a pool.
206
207
+Throws an error on failure.
208
209
+*Returns*: `true`
210
211
### `pool = mysql.pool_create(opts)`
212
213
Create a connection pool with count of size established connections.
@@ -247,6 +255,12 @@ Return a connection to connection pool.
247
255
248
256
- `conn` - a connection
249
257
258
+### `pool:close()`
259
260
+Close all connections in pool.
261
262
263
250
264
## Comments
251
265
252
266
All calls to connections api will be serialized, so it should to be safe to
0 commit comments