From f5199eb6a402d958347275959ca0513652b908bb Mon Sep 17 00:00:00 2001 From: Felix Becker Date: Fri, 22 Jan 2016 18:00:24 +0100 Subject: [PATCH] Some advertisement on sql-template-strings module --- Prepared-Statements.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Prepared-Statements.md b/Prepared-Statements.md index cde57e8..5aab558 100644 --- a/Prepared-Statements.md +++ b/Prepared-Statements.md @@ -36,6 +36,8 @@ function SQL(parts, ...values) { client.query(SQL`select name from user where id=${userId} and password=${password}`, callback); ``` +If you want it as a module, take a look at [sql-template-strings](https://www.npmjs.com/package/sql-template-strings). + ##Prepared Statements## A prepared statement lets postgres plan the statement so that each execution takes advantage of the