Comparing version 0.2.8 to 0.2.9
@@ -25,3 +25,3 @@ /** | ||
if (!value) { | ||
return get_promise(false); | ||
return get_promise(); | ||
}; | ||
@@ -37,3 +37,3 @@ var data = value.data; | ||
delete caches[name]; | ||
return get_promise(false); | ||
return get_promise(); | ||
}; | ||
@@ -40,0 +40,0 @@ return get_promise(data); |
@@ -816,2 +816,9 @@ var util = require('util'); | ||
return this; | ||
}, | ||
/** | ||
* 关闭数据库连接 | ||
* @return {[type]} [description] | ||
*/ | ||
close: function(){ | ||
this.db && this.db.close(); | ||
} | ||
@@ -818,0 +825,0 @@ } |
@@ -51,3 +51,3 @@ var crypto = require('crypto'); | ||
get: function(name){ | ||
return get_promise(""); | ||
return get_promise(); | ||
}, | ||
@@ -54,0 +54,0 @@ /** |
@@ -48,3 +48,3 @@ var fs = require("fs"); | ||
if (!is_file(filename)) { | ||
return get_promise(false); | ||
return get_promise(); | ||
}; | ||
@@ -59,3 +59,3 @@ N('cache_read', 1); | ||
fs.unlink(filename, function(){}); | ||
return get_promise(false); | ||
return get_promise(); | ||
}; | ||
@@ -67,3 +67,3 @@ if(C('data_cache_check')){ | ||
fs.unlink(filename, function(){}); | ||
return get_promise(false); | ||
return get_promise(); | ||
}; | ||
@@ -76,3 +76,3 @@ }else{ | ||
}; | ||
return get_promise(false); | ||
return get_promise(); | ||
}, | ||
@@ -79,0 +79,0 @@ /** |
@@ -40,3 +40,3 @@ /** | ||
if (!this._linkID) { | ||
return get_promise(false); | ||
return get_promise("_linkID is null", true); | ||
}; | ||
@@ -56,3 +56,3 @@ this.queryStr = str; | ||
if (!this._linkID) { | ||
return false; | ||
return get_promise("_linkID is null", true); | ||
}; | ||
@@ -59,0 +59,0 @@ this.queryStr = str; |
{ | ||
"name": "thinkjs", | ||
"description": "thinkphp web framework for nodejs", | ||
"version": "0.2.8", | ||
"version": "0.2.9", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "welefen", |
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
175908
5268