上一页 1 ··· 134 135 136 137 138 139 140 141 142 ··· 567 下一页
摘要: 程度从强到弱 1、drop table tb drop将表格直接删除,没有办法找回 2、truncate (table) tb 删除表中的所有数据,... 阅读全文
posted @ 2019-06-01 15:07 码农编程进阶笔记 阅读(136) 评论(0) 推荐(0)
摘要: 程度从强到弱 1、drop table tb drop将表格直接删除,没有办法找回 2、truncate (table) tb 删除表中的所有数据,不能与where一起使用 3、delete from tb (where) 删除表中的数据(可制定某一行) 区别:truncate和delete的区别 阅读全文
posted @ 2019-06-01 15:07 码农编程进阶笔记 阅读(1021) 评论(0) 推荐(0)
摘要: orWhere如果不用闭包的形式写很容易写成分开的查询条件 要写成一组查询条件需要这样闭包写(就相当于把这两个条件放在一个小括号里,是一组查询条件“(xxx or xxx)”): if (!empty($key)) { $goodsModel... 阅读全文
posted @ 2019-05-28 17:40 码农编程进阶笔记 阅读(151) 评论(0) 推荐(0)
摘要: orWhere如果不用闭包的形式写很容易写成分开的查询条件 要写成一组查询条件需要这样闭包写(就相当于把这两个条件放在一个小括号里,是一组查询条件“(xxx or xxx)”): if (!empty($key)) { $goodsModel = $goodsModel->where(functio 阅读全文
posted @ 2019-05-28 17:40 码农编程进阶笔记 阅读(6037) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2019-05-28 17:06 码农编程进阶笔记 阅读(40) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2019-05-28 17:06 码农编程进阶笔记 阅读(292) 评论(0) 推荐(0)
摘要: //联系过我的经纪人 $appletChats=$this->AppletChat->orderBy('created_at','desc')->where([['user_id',$param['user_id']],['s... 阅读全文
posted @ 2019-05-24 15:11 码农编程进阶笔记 阅读(78) 评论(0) 推荐(0)
摘要: //联系过我的经纪人 $appletChats=$this->AppletChat->orderBy('created_at','desc')->where([['user_id',$param['user_id']],['source',2]]) ->get(['send_user','created_at'])->toArray();... 阅读全文
posted @ 2019-05-24 15:11 码农编程进阶笔记 阅读(1593) 评论(0) 推荐(0)
摘要: git 操作: 如果龙哥提交了代码,我想拉去过来,我需要的操作: 1.git fetch 2. git add . 3.git commit -m '' 提交本地的文件 4.git merge origin/test 合并分支 ... 阅读全文
posted @ 2019-05-23 11:08 码农编程进阶笔记 阅读(26) 评论(0) 推荐(0)
摘要: git 操作: 如果龙哥提交了代码,我想拉去过来,我需要的操作: 1.git fetch 2. git add . 3.git commit -m '' 提交本地的文件 4.git merge origin/test 合并分支 阅读全文
posted @ 2019-05-23 11:08 码农编程进阶笔记 阅读(733) 评论(0) 推荐(0)
上一页 1 ··· 134 135 136 137 138 139 140 141 142 ··· 567 下一页
返回顶部 有事您Q我