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; 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"