码迷,mamicode.com
首页 >  
搜索关键字:mongodb bulk write    ( 25189个结果
for...in 循环
for...in 循环主要用于数组,也可用于对象。for (var index in myArray) { document.write(myArray[index]);}var person = { firstname : "Bill", lastname : "Gates", ...
分类:其他好文   时间:2014-08-03 22:48:56    阅读次数:134
win7 安装 mongodb 绝对正确
Windows7下安装MongoDB 1、下载 地址:http://www.mongodb.org/downloads(32位还是64位自行选择)。 我下载的是:mongodb-win32-x86_64-2.4.5.zip 2、解压 把mongodb-win32-x86_64-2.4.5.zip放到某个位置,解压。我放的是D:\dev目录。 解压后的路径为D:\dev\mongo...
分类:数据库   时间:2014-08-03 15:17:55    阅读次数:284
MongoDB权威指南学习笔记5---索引相关的知识点
1 查看查询计划 db.user.find({"username":"xxx"}) .explain() db.doc.find({"es_y":"2014"}).explain() { ?"cursor" : "BasicCursor", ?"isMultiKey" : false, ?"n" : 0, ?"nscannedObjects" : 1, ?"nscann...
分类:数据库   时间:2014-08-03 12:56:45    阅读次数:268
[LeetCode]Same Tree
Given two binary trees, write a function to check if they are equal or not. Two binary trees are considered equal if they are structurally identical and the nodes have the same value. /** ...
分类:其他好文   时间:2014-08-03 12:54:55    阅读次数:201
linux c 文件 read(读) 和 write (写) 代码分析
read code: [root@luozhonghua 03]# cat ex03-read-01.c /*文件ex03-open-03.c, O_CREAT和O_EXCL的使用*/ #include #include #include #include int main(void) {   int fd = -1,i;   ssize_t size...
分类:系统相关   时间:2014-08-03 12:46:45    阅读次数:355
MongoDB权威指南学习笔记4---查询相关的知识点
1 find find({查询条件},{"key":1,"email":1})? 后面表示返回哪些键 2 可用的比较操作符 $lt , $lte,$gt,$gte 比如db.users.find({"age":{"$gte":18,"$lte":30}}) 3不等于 find(...{"key":{"$ne":"value"}} 4 ...
分类:数据库   时间:2014-08-03 10:23:35    阅读次数:312
Thesis - Preparation
1. Choose a topic.2. Decide what to develop.3. Check feasibility of your idea, including the tools, time, etc.4. If feasible, write a project proposal...
分类:其他好文   时间:2014-08-02 20:38:53    阅读次数:197
Test Windows Live Write Exception
源自:http://www.en8848.com.cn/read/proseessay/lz/239065.html 1. Buy someone's coffee. 为他人买杯咖啡 It's just coffee -- no one needs coffee, so this doesn't r...
分类:Windows程序   时间:2014-08-02 15:22:33    阅读次数:322
Generate Parentheses leetcode java
题目:Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses.For example, given n = 3, a solution set is....
分类:编程语言   时间:2014-08-02 12:19:33    阅读次数:255
深入理解MongoDB(一)Linux下配置MongoDB全攻略
这是深入理解MongoDB的第一篇文章,本篇文章简要地介绍了MongoDB,并把Linux下完整的配置过程呈现给读者。...
分类:数据库   时间:2014-08-02 10:02:53    阅读次数:311
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!