mirror of
https://github.com/thinkjs/thinkjs.git
synced 2026-01-25 14:42:47 +00:00
update
This commit is contained in:
parent
c9039c3ac9
commit
cbb0120c41
@ -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 "";
|
||||
}
|
||||
|
||||
@ -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]);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user