Skip to content

Commit 077d985

Browse files
committed
Fix destroy() documentation
Does not take a callback. Also: It's an "ok" way to terminate the connection, mysql doesn't really care. Fixes #115
1 parent 4a9a0a8 commit 077d985

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Readme.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,10 +148,9 @@ placeholder mechanism described above.
148148

149149
Escapes a single `val` for use inside of a sql string.
150150

151-
### client.destroy([cb])
151+
### client.destroy()
152152

153-
Forces the client connection to be destroyed right away. This is not a
154-
nice way to terminate the connection, use with caution.
153+
Forces the client connection / socket to be destroyed right away.
155154

156155
### client.end([cb])
157156

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy