WebLinuxStudy

导航

 
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 20 下一页

2022年8月11日

摘要: MySql 语句执行顺序 https://www.cnblogs.com/zhangbl55666/p/14279752.html 阅读全文
posted @ 2022-08-11 17:02 WebLinuxStudy 阅读(33) 评论(0) 推荐(0)
 

2022年7月11日

摘要: function editValidator(array $params){ //定义规则 $rules = [ 'name' => ['regex:/^[\x{4e00}-\x{9fa5}A-Za-z]+$/u'], ]; //重新编辑错误信息 $messages = [ 'name.regex' 阅读全文
posted @ 2022-07-11 16:38 WebLinuxStudy 阅读(160) 评论(0) 推荐(0)
 

2022年7月5日

摘要: SELECT * FROM user WHERE (`id` = 1 OR `name` LIKE '%1%'); DB::table('user') ->select(['*']) ->where(function ($query) use ($idOrName) { $query->where( 阅读全文
posted @ 2022-07-05 17:33 WebLinuxStudy 阅读(83) 评论(0) 推荐(0)
 
摘要: SELECT * FROM user WHERE FIND_IN_SET(1, type); DB::table('user') ->select(['*']) ->whereRaw('FIND_IN_SET(?, type)', [$type]) ->get(); 阅读全文
posted @ 2022-07-05 17:24 WebLinuxStudy 阅读(1323) 评论(0) 推荐(0)
 

2022年4月11日

摘要: https://blog.csdn.net/YardStrong/article/details/86688488 阅读全文
posted @ 2022-04-11 10:52 WebLinuxStudy 阅读(19) 评论(0) 推荐(0)
 

2022年1月27日

摘要: 对于数组$foo = array( "a" => array('a1' => 1, 'a2' => 2), "b" => array()); 想转换成{ "a": {"a1":1, "a2":2}, "b": {}} 默认情况下用json_encode($foo)得到的是 { "a": {"a1": 阅读全文
posted @ 2022-01-27 14:26 WebLinuxStudy 阅读(482) 评论(0) 推荐(0)
 

2022年1月13日

摘要: 关于 Laravel项目多进程队列配置的使用 https://segmentfault.com/a/1190000021165798 阅读全文
posted @ 2022-01-13 12:31 WebLinuxStudy 阅读(385) 评论(0) 推荐(0)
 

2021年12月10日

摘要: http://www.360doc.com/content/18/0322/10/9200790_739224029.shtml https://blog.csdn.net/u012764358/article/details/62886427 阅读全文
posted @ 2021-12-10 14:22 WebLinuxStudy 阅读(96) 评论(0) 推荐(0)
 

2021年7月12日

摘要: MYSQL向上取整、向下取整和四舍五入 1.MYSQL向上取整SELECT CEIL(1.2) 2.MYSQL向下取整SELECT FLOOR(1.2) 3.MYSQL四舍五入SELECT ROUND(1.355, 2) 阅读全文
posted @ 2021-07-12 17:43 WebLinuxStudy 阅读(1453) 评论(0) 推荐(0)
 

2021年6月18日

摘要: 第一种方法:find / -name php.ini 第二种方法:php --ini 第三种方法:php -i |grep php.ini //php -i其实就是输出phpinfo 阅读全文
posted @ 2021-06-18 16:39 WebLinuxStudy 阅读(103) 评论(0) 推荐(0)
 
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 20 下一页