brianc/node-postgres — Issue #69: Support for INSERT ... RETURNING
Author: kbl
Created: 2011-11-04 14:29:57+00:00
State: open

Supprt for INSERT ... RETURNING could improve existing API. (http://www.postgresql.org/docs/8.4/static/sql-insert.html)
Maybe passing argument to Query end event callback will be good approach?

```javascript
query.on('end', function(row) {
if(row) {
// RETURNING uesd
}
else {
// standard end event
}
});
```