$maxc=User::max('password'); 字符串也可以max
->D:\thinkphpaction\thinkphp\library\think\Debug.php:165:string 'ff8b8f29d009fccf63b2ab770448df89' (length=32)
->D:\thinkphpaction\thinkphp\library\think\Debug.php:165:string 'ff8b8f29d009fccf63b2ab770448df89' (length=32)
2017-07-18
$user=User::where('id',66)->field('username','password')->find();
dump($user->toArray());
---------------------------------------------
field的設置失效,兩個以上會查出所有字段,一個字段才有效
dump($user->toArray());
---------------------------------------------
field的設置失效,兩個以上會查出所有字段,一個字段才有效
2017-07-18
我的 Db::類下,就一個connect()方法,沒有query()之類的方法。難道我的這個版本用其他方式處理數據了嗎,我的版本 5.0.10
2017-07-14
它這個create_time和update_time 在插入數據的時候 值是一樣的。在更新數據的時候,只更新了update_time的值。
2017-07-12