查询条件处理
This commit is contained in:
@@ -35,7 +35,7 @@ class Sql
|
|||||||
$this->filter .= ' WHERE ';
|
$this->filter .= ' WHERE ';
|
||||||
}
|
}
|
||||||
if (is_string($where)) {
|
if (is_string($where)) {
|
||||||
$this->filter .= ' WHERE ' . $where;
|
$this->filter .= $where;
|
||||||
} else {
|
} else {
|
||||||
$flag = true;
|
$flag = true;
|
||||||
foreach ($where as $key => $value) {
|
foreach ($where as $key => $value) {
|
||||||
|
|||||||
Reference in New Issue
Block a user