码迷,mamicode.com
首页 >  
搜索关键字:ansible tornado mongodb    ( 13673个结果
mongodb中重命名column名称(更改字段名称)
mongodb中重命名column名称(更改字段名称) 分类: 数据库2012-06-11 11:071648人阅读评论(0)收藏举报mongodbshell2010c转自:http://hi.baidu.com/youhong2010/item/6bb2f020115394846e2cc3b6参....
分类:数据库   时间:2014-09-22 17:04:42    阅读次数:363
Mongodb Javascript 返回document
function(){var a= db.test.find();var doc;for(i=0;i<a.length();i++)doc=doc||a;return doc;}function(){var a= db.test.findOne();return a;}
分类:数据库   时间:2014-09-22 16:36:02    阅读次数:175
tornado\ioloop.py单例
@staticmethod def instance(): """Returns a global `IOLoop` instance. Most applications have a single, global `IOLoop` running on ...
分类:其他好文   时间:2014-09-22 14:36:42    阅读次数:199
mongodb batchInsert
看到《MongoDB 权威指南》第二版P30提到了一个batchInset的插入方法,对于一次性插入大量数据时可以提高速递。按照书上的列子,却提示错误:本书是基于MongoDB V2.4.0进行讲解,而我的测试环境是V2.4.9。此帖中http://f.dataguru.cn/thread-2521...
分类:数据库   时间:2014-09-22 10:57:02    阅读次数:1122
【MongoDB】The high query operation of MongoDB(二)
In the last blog, there are three query condition to be described. In the blog, we wil...
分类:数据库   时间:2014-09-22 03:37:02    阅读次数:255
【MongoDB】The high Query operation of MongoDB(一)
In the last blog, we talked about the basic operation of MongoDB, including insert, query, remove and update. Now in this blog, we will further hava a good understanding of  querying operation.  At f...
分类:数据库   时间:2014-09-22 01:35:41    阅读次数:233
MongoDB基本命令随便敲敲
1,mongoDB状态,版本,当前连接的数据库名称2,db.help(),db.serverStatus(),db.getName(),db.getMongo(),db.clone/copyDatabase();3,MongoDB创建collections(mongoDB创建collections的...
分类:数据库   时间:2014-09-22 01:12:11    阅读次数:304
tornado 安装
#pip??install??tornado #cat??web.py import?tornado.ioloop import?tornado.web class?MainHandler(tornado.web.RequestHandler): ????def?get(self): ????????self.write(‘hello,world...
分类:其他好文   时间:2014-09-21 22:13:51    阅读次数:324
mogodb and pymongo
ubuntu 安装:apt-get? install?? mongdb 若需要使用python链接mongodb还需要安装pymogo :pip? install pymongo 1.先尝试下pymongo链接mongodb >import? pymongo >con=pymongo.Connection(‘localhost‘,2701...
分类:数据库   时间:2014-09-21 20:08:51    阅读次数:297
20140921bug
mongodb启动正常,启动后使用mongo命令连接,连一次mongodb进程挂一次,最后看日志:2014-09-21T10:44:26.400+0800 [initandlisten] ERROR: Insufficient free space for journal files2014-09-...
分类:其他好文   时间:2014-09-21 11:41:00    阅读次数:160
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!