brianc/node-postgres — Issue #83: Support for multiple statements in one string?
Author: mikl
Created: 2012-01-13 13:42:25+00:00
State: open

I'm trying to add migration scripts to my little framework, and for that, I need to execute all statements in a file.

As far as I can see from the documentation, `client.query()` is designed for single statements only. Is there another way to accomplish this? I suppose I could just shell out to psql, but that is inconvenient…