This commit is contained in:
welefen 2014-06-03 19:25:32 +08:00
parent c9039c3ac9
commit cbb0120c41
2 changed files with 1 additions and 5 deletions

View File

@ -309,7 +309,6 @@ var Db = module.exports = Class(function(){
* @return {[type]} [description]
*/
parseThinkWhere: function(key, val){
var whereStr = "";
switch(key){
// 字符串模式查询条件
case "_string":
@ -331,8 +330,7 @@ var Db = module.exports = Class(function(){
val = this.parseKey(name) + " = " + this.parseValue(val);
arr.push(val);
}
whereStr = arr.join(op);
return whereStr;
return arr.join(op);
default:
return "";
}

View File

@ -12,8 +12,6 @@ module.exports = Class(function(){
for(var name in this.options){
if (C(name) !== undefined) {
this.options[name] = C(name);
}else{
C(name, this.options[name]);
}
}
},