From cb1a2c9f45b8b5b2cc8af32966b5cfe67d5df1e8 Mon Sep 17 00:00:00 2001 From: Jonathan Friedman Date: Mon, 6 May 2013 09:35:56 -0700 Subject: [PATCH 1/2] Expose SQL String Generator --- index.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index f589e7f45..edd637868 100644 --- a/index.js +++ b/index.js @@ -15,6 +15,9 @@ exports.createPool = function(config) { exports.createQuery = Connection.createQuery; -exports.Types = Types; -exports.escape = SqlString.escape; -exports.escapeId = SqlString.escapeId; +exports.Types = Types; + +//Expose SQL String Functionality +exports.escape = SqlString.escape; +exports.escapeId = SqlString.escapeId; +exports.format = SqlString.format; From 4e4f35a86c33f920c7eff83caf03c01c7dd8649a Mon Sep 17 00:00:00 2001 From: Andrew Seddon Date: Fri, 17 May 2013 19:19:08 +0100 Subject: [PATCH 2/2] bump version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d68a98148..626786374 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "author": "Felix Geisendörfer (http://debuggable.com/)", "name": "mysql", "description": "A node.js driver for mysql. It is written in JavaScript, does not require compiling, and is 100% MIT licensed.", - "version": "2.0.0-alpha8", + "version": "2.0.0-alpha8-1", "repository": { "type": "git", "url": "https://github.com/felixge/node-mysql"