php 增删改查

$this->字段 = value
$this->save();

$this->where(字段 =value)->delete()

$this->where(字段 = value) ->update( [ 字段 =>value ] );


$this -> select(字段)
-> where('字段','=',value)
-> get();

原文地址:https://www.cnblogs.com/kuniei/p/11475572.html