Comparing version 0.2.0 to 0.2.1
{ | ||
"name": "easymysql", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"author": "Aleafs Zhang (zhangxc83@gmail.com)", | ||
@@ -10,3 +10,3 @@ "contributors": [], | ||
"dependencies": { | ||
"mysql-robin" : "=2.0.4", | ||
"mysql-robin" : "=2.0.7", | ||
"safequeue" : ">=0.0.2" | ||
@@ -13,0 +13,0 @@ }, |
@@ -37,16 +37,2 @@ /* vim: set expandtab tabstop=2 shiftwidth=2 foldmethod=marker: */ | ||
}); | ||
it('select * from cdo_tcif.auth_user where username = :username should ok', function (done) { | ||
var sql = 'select * from test.auth_user where username = :username'; | ||
var con = Connection.create(Common.config); | ||
con.query({sql: sql, params: {username: 'ecchanger'}}, 5000, function (err, rows) { | ||
should.not.exist(err); | ||
should.exist(rows); | ||
rows.should.length(1); | ||
rows[0].username.should.eql('ecchanger'); | ||
done(); | ||
}); | ||
}); | ||
@@ -53,0 +39,0 @@ /* {{{ should_query_timeout_works_fine() */ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
31970
977
Updatedmysql-robin@=2.0.7