Commit Graph

31 Commits

Author SHA1 Message Date
Cloud Wu
bb0143e476 add some assert 2016-06-13 12:29:01 +08:00
Cloud Wu
fd2c814fe0 default key ascending 2016-06-13 12:13:02 +08:00
Cloud Wu
bd3d9b70ec change arg name 2016-06-13 12:05:52 +08:00
Cloud Wu
ee1a218870 typo 2016-06-13 12:01:54 +08:00
Cloud Wu
84ee3da79a add mongo.createIndexs, and fix the bug in old API createIndex. For detail, see PR #511 2016-06-13 11:55:31 +08:00
Learno
5b469c0a9a 扩展mongo库对sort, skip, limit, count方法的支持 2015-03-03 16:54:34 +08:00
Cloud Wu
e44f589c53 unpack to table.unpack 2015-01-23 17:15:30 +08:00
Cloud Wu
bf54a66346 Merge branch 'master' into dev 2014-12-11 10:53:04 +08:00
dpull
f1c9f9b9dc 1、修改mongo_collection:createIndex的bug
2、增加mongo_collection:drop和mongo_collection:dropIndex(方便测试代码清理环境)
3、根据自己项目用到的功能,增加了测试代码
2014-12-11 10:41:59 +08:00
dpull
fe9640e2dd 1、mongo_collection:createIndex 创建索引
2、mongo_collection:safe_insert 可以判断返回值的insert
3、mongo_collection:findAndModify 查询并修改
2014-12-04 20:10:24 +08:00
lmess
175529b114 Update mongo.lua
mongo auth config
2014-12-03 15:31:32 +08:00
Cloud Wu
a074cd79bd add nodelay option in socketchannel 2014-10-13 20:58:41 +08:00
Cloud Wu
39ff6eb2a6 space to tab 2014-07-21 14:27:50 +08:00
btt
e59b6b44a5 mongo driver support rs 2014-07-21 11:47:38 +08:00
Cloud Wu
37a46607ce add socketchannel:changhost 2014-07-16 12:17:55 +08:00
Cloud Wu
4bc2e800fd bugfix: lua mongo result 2014-06-09 18:08:23 +08:00
Cloud Wu
bf6501f2ee check mongo reply data stream 2014-06-09 17:43:40 +08:00
Cloud Wu
f7783d3881 bugfix: socket channel reconnect 2014-04-24 23:08:35 +08:00
Cloud Wu
b6c208cf51 try connect only once at first time 2014-04-22 16:18:49 +08:00
Cloud Wu
d0dc729f4b mongo client : copy table 2014-04-21 17:05:22 +08:00
Cloud Wu
7c43421784 add mongo auth support, and copy a md5 lib to 3rd 2014-04-02 14:35:17 +08:00
Cloud Wu
05ecd61015 bugfix: mongo driver, reply result 2014-03-25 13:31:06 +08:00
Cloud Wu
911380d8b2 socketchannel is an independent mod now, channel:request will throw channel.error when disconnected. 2014-03-25 13:31:06 +08:00
Cloud Wu
2e1de9a64a bugfix: use so:close instead of socket.close 2014-03-25 13:31:06 +08:00
Cloud Wu
1eb775a326 introduce socket.channel, and rewrite redis/mongo driver 2014-03-25 13:31:06 +08:00
Cloud Wu
1fdce9941b bugfix: mongo disconnect. self.__sock can't be nil because of metatable 2014-03-21 11:03:16 +08:00
Cloud Wu
b502d34da3 change api name bson.encode_order 2014-03-12 15:01:13 +08:00
Cloud Wu
7989daf9bb bugfix: mongo driver runCommand , and fix socket.close 2014-03-12 14:11:45 +08:00
云风
f547317414 simple reconnect support 2013-09-09 19:02:00 +08:00
云风
1d0d2678ed mongo driver support request_id 2013-07-31 16:41:46 +08:00
云风
940abe6dff add mongo driver from lua-mongo project (wip) 2013-07-30 14:51:26 +08:00