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