diff --git a/lib/sql.js b/lib/sql.js index ce77ca78..1f175b92 100644 --- a/lib/sql.js +++ b/lib/sql.js @@ -148,6 +148,7 @@ var sql = module.exports = { else if (key === '<=' || key === 'lessThanOrEqual') return attrStr + '<=' + valueStr; else if (key === '>' || key === 'greaterThan') return attrStr + '>' + valueStr; else if (key === '>=' || key === 'greaterThanOrEqual') return attrStr + '>=' + valueStr; + else if (key === 'not like') return attrStr + ' NOT LIKE \'' + nakedButClean + '\''; else if (key === '!' || key === 'not') { if (value === null) return attrStr + ' IS NOT NULL'; else if (_.isArray(value)) return attrStr + ' NOT IN(' + valueStr + ')'; diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index 0597a7ca..e37b333f 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -74,9 +74,9 @@ "resolved": "https://registry.npmjs.org/waterline-errors/-/waterline-errors-0.10.1.tgz" }, "waterline-sequel": { - "version": "0.5.7", - "from": "waterline-sequel@0.5.7", - "resolved": "https://registry.npmjs.org/waterline-sequel/-/waterline-sequel-0.5.7.tgz", + "version": "0.5.8", + "from": "cjy37/waterline-sequel@0.5.8", + "resolved": "https://github.com/cjy37/waterline-sequel/tarball/0.5.x", "dependencies": { "lodash": { "version": "3.10.0", diff --git a/package.json b/package.json index f2833549..1edc2b48 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "sails-mysql", - "version": "0.11.5", + "version": "0.11.8", "description": "MySQL adapter for Sails.js", "main": "lib/adapter.js", "scripts": { @@ -9,7 +9,7 @@ }, "repository": { "type": "git", - "url": "git://github.com/balderdashy/sails-mysql.git" + "url": "git://github.com/cjy37/sails-mysql.git" }, "keywords": [ "mysql", @@ -26,7 +26,7 @@ "mysql": "2.10.2", "waterline-cursor": "0.0.6", "waterline-errors": "0.10.1", - "waterline-sequel": "0.5.7" + "waterline-sequel": "https://github.com/cjy37/waterline-sequel/archive/0.5.8.tar.gz" }, "devDependencies": { "captains-log": "~0.11.11",