diff --git a/README.md b/README.md index 8c8622c..7659988 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ `loopback-connector-mysql` is the MySQL connector module for [loopback-datasource-juggler](https://github.com/strongloop/loopback-datasource-juggler/). -For complete documentation, see [StrongLoop Documentation | MySQL Connector](http://docs.strongloop.com/display/DOC/MySQL+connector). +For complete documentation, see [StrongLoop Documentation | MySQL Connector](http://docs.strongloop.com/display/LB/MySQL+connector). ## Installation diff --git a/package.json b/package.json index b17917f..c33e37a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "loopback-connector-mysql", - "version": "1.4.0", + "version": "1.4.1", "description": "MySQL connector for loopback-datasource-juggler", "main": "index.js", "scripts": { @@ -8,14 +8,14 @@ }, "dependencies": { "loopback-connector": "1.x", - "mysql": "~2.3.0", + "mysql": "~2.3.2", "async": "~0.9.0", - "debug": "~0.8.0" + "debug": "~1.0.2" }, "devDependencies": { "loopback-datasource-juggler": "1.x.x", "should": "~1.3.0", - "mocha": "~1.18.0", + "mocha": "~1.20.1", "rc": "~0.4.0" }, "repository": { diff --git a/test/mysql.test.js b/test/mysql.test.js index b5c4e03..dfc2198 100644 --- a/test/mysql.test.js +++ b/test/mysql.test.js @@ -362,7 +362,7 @@ describe('mysql', function () { function (err, post) { Post.create({title: 'My Post2', content: 'Hello', stars: 20}, function (err, post) { - Post.find({where: {title: {inq: 'SELECT title from PostWithDefaultId'}}}, + Post.find({where: {title: {inq: ['SELECT title from PostWithDefaultId']}}}, function (err, posts) { should.not.exist(err); posts.should.have.property('length', 0); @@ -392,7 +392,7 @@ describe('mysql', function () { function (err, post) { Post.create({title: 'My Post2', content: 'Hello', stars: 20}, function (err, post) { - Post.find({where: {title: {nin: 'SELECT title from PostWithDefaultId'}}}, + Post.find({where: {title: {nin: ['SELECT title from PostWithDefaultId']}}}, function (err, posts) { should.not.exist(err); posts.should.have.property('length', 2); @@ -408,7 +408,7 @@ describe('mysql', function () { function (err, post) { Post.create({title: 'My Post2', content: 'Hello', stars: 20}, function (err, post) { - Post.find({where: {stars: {inq: 'SELECT title from PostWithDefaultId'}}}, + Post.find({where: {stars: {inq: ['SELECT title from PostWithDefaultId']}}}, function (err, posts) { should.not.exist(err); posts.should.have.property('length', 0);