return $this->getRealSql($sql, $bind);
}
return $this->execute($sql, $bind, $query);
}
/**
* 通過Select方式插入記錄
* @access public
* @param Query $query 查詢對象
* @param string $fields 要插入的數據表字段名
* @param string $table 要插入的數據表名
* @return integer|string
* @throws PDOException
*/
public function selectInsert(Query $query, $fields, $table)
{
// 分析查詢表達式
$options = $query->getOptions();
id | 896 |
USER | www |
HOME | /home/www |
HTTP_ACCEPT | */* |
HTTP_USER_AGENT | Mozilla/5.0 (Linux;u;Android 4.2.2;zh-cn;) AppleWebKit/534.46 (KHTML,like Gecko)Version/5.1 Mobile Safari/10600.6.3 (compatible; Baiduspider/2.0;+http://www.baidu.com/search/spider.html) |
HTTP_HOST | www.ty-n.cn |
PATH_INFO | /index/product/view.html |
REDIRECT_STATUS | 200 |
SERVER_NAME | ty-n.cn |
SERVER_PORT | 80 |
SERVER_ADDR | 192.168.1.137 |
REMOTE_PORT | 50035 |
REMOTE_ADDR | 103.219.104.76 |
SERVER_SOFTWARE | nginx/1.22.1 |
GATEWAY_INTERFACE | CGI/1.1 |
REQUEST_SCHEME | http |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /www/wwwroot/ty-n.cn |
DOCUMENT_URI | /index.php/index/product/view.html |
REQUEST_URI | //index.php/index/product/view.html?id=896 |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | id=896 |
SCRIPT_FILENAME | /www/wwwroot/ty-n.cn/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php/index/product/view.html |
REQUEST_TIME_FLOAT | 1730256313.1053 |
REQUEST_TIME | 1730256313 |
APP_PATH | /www/wwwroot/ty-n.cn/app/ |
__PHYSICS__ | /www/wwwroot/ty-n.cn |