brianc/node-postgres — pull request #175 by grncdr (2012-08-19 20:52:27+00:00)
Title: Make query results act directly like an array

This is a backwards compatible change to Result that allows the result object to be iterated directly rather than having to access `result.rows`.

I'm currently writing a minimal compatibility layer for mysql/pg/sqlite3 where I'm going to be able to wrap results in something like this anyways, but since I was already writing it I thought I'd see if there was interest in having it included directly in node-postgres.