db_mysqli::parseKey PHP Method

parseKey() protected method

字段和表名处理添加`
protected parseKey ( string &$key ) : string
$key string
return string
    protected function parseKey(&$key)
    {
        $key = trim($key);
        if (!is_numeric($key) && !preg_match('/[,\'\\"\\*\\(\\)`.\\s]/', $key)) {
            $key = '`' . $key . '`';
        }
        return $key;
    }