Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lib/sql.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 + ')';
Expand Down
6 changes: 3 additions & 3 deletions npm-shrinkwrap.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand All @@ -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",
Expand All @@ -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",
Expand Down