12 2022 档案

摘要:在搭建gogs时想要它后台运行。nohup ./gogs web 提示:nohup: ignoring input and appending output to nohup.out’ 意思是 :忽略输入并将输出附加到nohup.out’ 程序也能正常启动。 如果不想看到这个提示可以使用如下三种方式 阅读全文
posted @ 2022-12-12 11:38 Cloud↓Sky 阅读(9829) 评论(0) 推荐(0) 编辑
摘要:数组合并时常需要用到,常用的array_marge(array1,array2...)数字索引将更新,有些场景需要不遍索引,通过查找有一下方法 1、最简单粗暴方式 + ,相同键后面的替换前面的 $a = [123=>['k'=>1,'s'=>'2'],124=>['k'=>2,'s'=>3]]; $ 阅读全文
posted @ 2022-12-07 10:42 Cloud↓Sky 阅读(149) 评论(0) 推荐(0) 编辑
摘要:SELECT语句定义 select->from->where->group by->having->order by->limit SELECT DISTINCT <select_list> FROM <left_table> <join_type> JOIN <right_table> ON <j 阅读全文
posted @ 2022-12-05 14:59 Cloud↓Sky 阅读(131) 评论(0) 推荐(0) 编辑
摘要:mysql将字符串转为数字的方法: 1、利用“+”运算符,语法“'字符串' + 0”; SELECT JSON_EXTRACT(charge_sts,'$.waiter') k1,JSON_EXTRACT(charge_sts,'$.waiter')+0 k2,'0121' k3,'012'+0 k 阅读全文
posted @ 2022-12-05 14:10 Cloud↓Sky 阅读(4570) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示