* [story#60676,0.5h] add querys to sql builder.
This commit is contained in:
+1
-1
@@ -1320,7 +1320,7 @@ class biModel extends model
|
||||
}
|
||||
|
||||
if(!empty($wheres)) $parser->addWhere($parser->combineConditions($this->getConditionsFromArray($parser, $wheres)));
|
||||
|
||||
if(!empty($querys)) $parser->addWhere($parser->combineConditions($this->getConditionsFromArray($parser, $querys)));
|
||||
if(!empty($groups)) foreach($groups as $group) $parser->addGroup($parser->getGroup($parser->getExpression($group)));
|
||||
|
||||
return $parser->statement;
|
||||
|
||||
Reference in New Issue
Block a user