码迷,mamicode.com
首页 >  
搜索关键字:MongoDB    ( 10243个结果
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
[Mongo]couldn't connect to server 127.0.0.1:27017 at src/mongo/shell/mongo.js:L112
今天在启动mongo时候出现了一个错误,我的是win7环境。 E:\server>mongo MongoDB shell version: 2.4.5-pre- connecting to: test Mon Sep 22 13:35:05.335 JavaScript execution failed: Error: couldn't connect to server 127.0.0...
分类:Web程序   时间:2014-09-22 16:18:52    阅读次数:263
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
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
MongoDB简介
技术交流、工作、请加QQ群:179242260MongoDB简介MongoDB是一款强大、灵活,易于扩展的通用型数据库。它能扩展出非常多的功能,如二级索引(secondaryindex)、范围查询(rangequery)、排序、聚合(aggregation),以及地理空间索引(geospatial)。1.1:易于使用MongoDB是一..
分类:数据库   时间:2014-09-21 03:56:20    阅读次数:379
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!