Blogger Information
Blog 14
fans 1
comment 0
visits 25821
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
Thinkphp5.1数据库增删改查操作——删除delete()
centcool的博客
Original
2091 people have browsed it

一、删除必须指定条件,使用delete()方法;

public function delete(){

		return Db::table('student')->where('id',1)->delete();
	}


Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post