标签:groupby sel date fse distinct 数据 字段 upd laravel
Model::insert(array)
Model::insertGetId(array)
$ob
$ob->save
foreach($arr as $k=->$v)
删: Model:where()->delete()
改: Model:where()->update(array())
$ob = Xxx::where()->first()
$ob -> 字段名 = 值;
...
$ob ->save();
查:
where();
select();
orderBy();
groupBy();
limit();
offset()
distinct()
first()
get()
join()
distinct()
标签:groupby sel date fse distinct 数据 字段 upd laravel
原文地址:https://www.cnblogs.com/chenliuxiao/p/9262520.html