mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
改进Query类的selectInsert方法 对 table参数的处理
This commit is contained in:
@@ -1602,6 +1602,7 @@ class Query
|
||||
// 分析查询表达式
|
||||
$options = $this->parseExpress();
|
||||
// 生成SQL语句
|
||||
$table = $this->parseSqlTable($table);
|
||||
$sql = $this->builder()->selectInsert($fields, $table, $options);
|
||||
if($options['fetch_sql']){
|
||||
// 获取实际执行的SQL语句
|
||||
|
||||
Reference in New Issue
Block a user