mirror of
https://github.com/brianc/node-postgres.git
synced 2026-01-25 16:03:13 +00:00
Updated Client (markdown)
parent
69535ddff3
commit
b801611400
@ -296,7 +296,7 @@ client.query("SELECT NOW() AS when", function(err, result) {
|
||||
```
|
||||
## Events
|
||||
|
||||
### drain :
|
||||
### drain : <a name="drainEvent"></a>
|
||||
|
||||
Raised when the internal [[query queue|Queryqueue]] has been emptied and all queued queries have been executed. Useful for disconnecting the client after running an undetermined number of queries.
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user