From 960ea020a6c91a7bce5848145d6f8b5d5cb525cd Mon Sep 17 00:00:00 2001 From: brianc Date: Tue, 12 Apr 2011 13:47:55 -0700 Subject: [PATCH] Updated Client (markdown) --- Client.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Client.md b/Client.md index 812c652..48b6bdb 100644 --- a/Client.md +++ b/Client.md @@ -270,7 +270,7 @@ The proceeding examples used an 'unamed' prepared statement. PostgreSQL server ## Events -
+
### drain : 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. @@ -286,7 +286,7 @@ Raised when the internal [[query queue|Queryqueue]] has been emptied and all que users.on('row', function(row){ ...... }); ``` _____ -
+
### error : _object_ error Raised when the client recieves an error message from PostgreSQL _or_ when the underlying stream raises an error. The single parameter passed to the listener will be the error message or error object. @@ -298,4 +298,5 @@ Raised when the client recieves an error message from PostgreSQL _or_ when the u client.on('error', function(error) { console.log(error); }); -``` \ No newline at end of file +``` +
\ No newline at end of file