摘要:
/** * 新增数据 * / $bool = DB::table('wt_001')->insert(['username'=>'冰冰','old'=>33,'note'=>'小三']); dd($bool); /**/ /** * 新增数据同时获取新增ID ... 阅读全文
摘要:
版本:5.5 use Illuminate\Support\Facades\DB; //新增数据 返回一个布尔值 /** / $bool = DB::insert('insert into wt_001(username, old, note) values(?,?,?)',['李克勤','18','软件工程师']); dd($bool); ... 阅读全文
摘要:
版本laravel 5.5 阅读全文