摘要: laravel数据库有三种访问方式一、基本Facade用法注意,首先要引入:use Illuminate\Support\Facades\DB; 不然报错DB' not found返回的是数组对象:$results = DB::select('select * from users where id... 阅读全文
posted @ 2015-10-08 23:41 zyliang 阅读(505) 评论(0) 推荐(0) 编辑