摘要: 1.whereRaw() 用原生的SQL语句来查询,whereRaw('select * from user') 就和 User::all()方法是一样的效果 2.whereBetween() 查询时间格式 这种可以查到,时间格式类似这种, 查询日期变为2016-10-05 20:35:08,则查不 阅读全文
posted @ 2016-09-25 23:35 Sea111 阅读(292) 评论(0) 推荐(0) 编辑