mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-02 21:52:34 +08:00
还原mysql驱动修改
This commit is contained in:
@@ -103,7 +103,7 @@ class Mysql extends Driver
|
||||
list($field, $name) = explode($key, '$.');
|
||||
$key = 'jsn_extract(' . $field . ', \'$.\'.' . $name . ')';
|
||||
}
|
||||
if ($key && !preg_match('/[,\'\"\*\(\)`.\s]/', $key)) {
|
||||
if (!preg_match('/[,\'\"\*\(\)`.\s]/', $key)) {
|
||||
$key = '`' . $key . '`';
|
||||
}
|
||||
return $key;
|
||||
|
||||
Reference in New Issue
Block a user