continue;
}
if (is_array($value)) {
if (key($value) !== 0) {
throw new Exception('where express error:' . var_export($value, true));
}
$field = array_shift($value);
} elseif (!($value instanceof \Closure)) {
throw new Exception('where express error:' . var_export($value, true));
}
if ($value instanceof \Closure) {
// 使用闭包查询
$newQuery = $query->newQuery()->setConnection($this->connection);
$value($newQuery);
$whereClause = $this->buildWhere($query, $newQuery->getOptions('where'));
if (!empty($whereClause)) {
USER | www |
HOME | /home/www |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
HTTP_HOST | www.yqghj.cn |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | yqghj.cn |
SERVER_PORT | 443 |
SERVER_ADDR | 172.21.0.6 |
REMOTE_PORT | 55664 |
REMOTE_ADDR | 34.203.221.104 |
SERVER_SOFTWARE | nginx/1.18.0 |
GATEWAY_INTERFACE | CGI/1.1 |
HTTPS | on |
REQUEST_SCHEME | https |
SERVER_PROTOCOL | HTTP/2.0 |
DOCUMENT_ROOT | /www/wwwroot/yqghj.cn/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /chuzu-gulou-0-0-0-0-0-48-0-0-0-0-0-1.html |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/chuzu-gulou-0-0-0-0-0-48-0-0-0-0-0-1.html |
SCRIPT_FILENAME | /www/wwwroot/yqghj.cn/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711665469.9856 |
REQUEST_TIME | 1711665469 |
QINIU_FUNCTIONS_VERSION | 7.2.7 |