mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-06 23:02:48 +08:00
fetchsql参数默认改完true 便于调用
This commit is contained in:
@@ -1294,7 +1294,7 @@ class Model {
|
|||||||
* @param boolean $fetch 是否返回sql
|
* @param boolean $fetch 是否返回sql
|
||||||
* @return Model
|
* @return Model
|
||||||
*/
|
*/
|
||||||
public function fetchSql($fetch){
|
public function fetchSql($fetch=true){
|
||||||
$this->options['fetch_sql'] = $fetch;
|
$this->options['fetch_sql'] = $fetch;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user