鴻飛

导航

 
上一页 1 2 3 4 5 6 7 8 ··· 14 下一页

2019年1月7日

该文被密码保护。 阅读全文
posted @ 2019-01-07 16:03 鴻飛 阅读(1) 评论(0) 推荐(0) 编辑
 

2018年12月28日

摘要: 首先需要知道,MongoDB是NoSQL中的一种,是不直接支持Join的,这是NoSQL的一个特点,不需要直接支持Join,可以将横向扩展以及性能做到更好。 但是这不等于说MongoDB不能做Join所做的事情,为了达到传统数据库join的功能,MongoDB中有2个思路: Embedding:透过 阅读全文
posted @ 2018-12-28 17:15 鴻飛 阅读(308) 评论(0) 推荐(0) 编辑
 

2018年12月20日

摘要: 圆形内的坐标(圆心与半径组成的圆形范围,返回距圆心距离) $juli = getDistance($loc1[1], $loc1[0], $loc2[1], $loc2[0]); $pipeline[] = ['$geoNear' => [ 'near'=>$loc1, // 当前坐标 'spher 阅读全文
posted @ 2018-12-20 11:23 鴻飛 阅读(344) 评论(0) 推荐(0) 编辑
 

2017年8月27日

摘要: 操作: $ git clone https://github.com/zjun615/DragListView.gitCloning into 'DragListView'...fatal: unable to access 'https://github.com/zjun615/DragListV 阅读全文
posted @ 2017-08-27 18:58 鴻飛 阅读(176) 评论(0) 推荐(0) 编辑
 

2017年8月23日

摘要: 转:http://www.it1352.com/598042.html 算法一:快速排序算法快速排序是由东尼·霍尔所发展的一种排序算法。在平均状况下,排序 n 个项目要Ο(n log n)次比较。在最坏状况下则需要Ο(n2)次比较,但这种状况并不常见。事实上,快速排序通常明显比其他Ο(n log n 阅读全文
posted @ 2017-08-23 23:15 鴻飛 阅读(143) 评论(0) 推荐(0) 编辑
 

2017年8月21日

摘要: 源码(@TargetApi(Build.VERSION_CODES.KITKAT)) public List<T> test1() { String sql = "selxe xxxxxxxxxxx"; try (Cursor cursor = dbManager.getReadableDataba 阅读全文
posted @ 2017-08-21 00:12 鴻飛 阅读(150) 评论(0) 推荐(0) 编辑
 

2017年8月17日

该文被密码保护。 阅读全文
posted @ 2017-08-17 18:47 鴻飛 阅读(3) 评论(0) 推荐(0) 编辑
 

2017年8月7日

摘要: desc SELECT id,detail,groupId from hs_knowledge_point where groupId in ( SELECT groupId from hs_knowledge_point where groupId>0 GROUP BY groupId HAVIN 阅读全文
posted @ 2017-08-07 19:33 鴻飛 阅读(365) 评论(0) 推荐(0) 编辑
 

2017年8月6日

摘要: 特别声明 本文只是一篇笔记类的文章,所以不存在什么抄袭之类的。 以下为我研究时参考过的链接(有很多,这里我只列出我记得的): Trie(字典树)的应用——查找联系人 trie树 Trie树:应用于统计和排序 牛人源码,研究代码来源 1、字典树的概念 字典树,因为它的搜索快捷的特性被单词搜索系统使用, 阅读全文
posted @ 2017-08-06 22:29 鴻飛 阅读(290) 评论(0) 推荐(0) 编辑
 

2017年7月15日

摘要: BEGIN #定义一个变量来保存该记录是否存在 declare num int; #这条sql,就是查询对应的记录有多少条,注意 into num 这两句话,就是把count(*) 查出的值,赋给到num中 select count(*) into num from t_count_view whe 阅读全文
posted @ 2017-07-15 10:09 鴻飛 阅读(538) 评论(0) 推荐(0) 编辑
 
上一页 1 2 3 4 5 6 7 8 ··· 14 下一页