brianc / node-pg-native

Native (C/C++) bindings to PostgreSQL with sync and async options.
247 stars 44 forks source link

Added libpq escapeLiteral and escapeIdentifier wrappers #35

Closed blotzu closed 8 years ago

blotzu commented 8 years ago

For queries with a very large number of parameters ( 20k + ) it is much faster to escape them instead of binding them:

brianc commented 8 years ago

Awesome work! thanks - pushing a new minor version now.