DB操作
DB::insert('insert into user(id,name,email,password) values(?,?,?,?),[1,..,...,...])

同样的有select,update,delete

通用的statement,一般执行create,drop,grant等

insertGetId()插入获取id


首页 我的博客
粤ICP备17103704号