mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-06 23:02:48 +08:00
Lite数据库类调整 数据库类的escapeString方法更名为quote
This commit is contained in:
@@ -1206,7 +1206,7 @@ class Model
|
||||
$parse = func_get_args();
|
||||
array_shift($parse);
|
||||
}
|
||||
$parse = array_map([$this->db, 'escapeString'], $parse);
|
||||
$parse = array_map([$this->db, 'quote'], $parse);
|
||||
$where = vsprintf($where, $parse);
|
||||
} elseif (is_object($where)) {
|
||||
$where = get_object_vars($where);
|
||||
|
||||
Reference in New Issue
Block a user