码迷,mamicode.com
首页 >  
搜索关键字:manual    ( 2148个结果
MongoDB upsert操作并发的原子性
在用C++对MongoDB执行update操作的时候,如果设置了upsert参数为true,则会自动插入不存在的数据。在高并发环境下,会导致数据重复。解决方法是为查询条件添加unique index, 参考官方文档:http://docs.mongodb.org/manual/core/write-operations-atomicity/http://docs.mongodb.org/manua...
分类:数据库   时间:2015-02-03 19:29:23    阅读次数:159
vbox 中Linux设置nat,host中putty可以访问linux
http://www.linuxidc.com/Linux/2012-02/53989.htm使用网桥方式须主机联网,否则无法连接首先看这里:Network Address Translation (NAT)http://www.virtualbox.org/manual/ch06.html----...
分类:系统相关   时间:2015-02-02 12:07:42    阅读次数:174
assetbundle 对自定义shader的打包
http://docs.unity3d.com/Manual/managingassetdependencies.htmlManaging asset dependenciesAny given asset in a bundle may depend on other assets. For ex...
分类:其他好文   时间:2015-02-01 23:13:10    阅读次数:383
MongoDB中的查询
MongoDB中文文档:http://docs.mongoing.com/manual-zh/contents.html 这里以集合名称为test为例,数据库通过for循环插入一些测试数据,键分别为:name,age,date db.test.find() 查询所有的数据 db.test...
分类:数据库   时间:2015-01-30 19:32:24    阅读次数:210
mongodb的查询操作符
本文地址:http://www.cnblogs.com/egger/archive/2013/05/04/3059374.html欢迎转载 ,请保留此链接! 官方参考:http://docs.mongodb.org/manual/reference/operator/query/ 查询操作符(...
分类:数据库   时间:2015-01-28 17:22:14    阅读次数:288
mongodb的高级操作(聚合框架)
group by 查询 不要用java驱动带的group by ,要用2.2版本后的aggregate聚合框架来搞,经过试验速度快一倍参考官网:http://docs.mongodb.org/manual/reference/sql-aggregation-comparison/实例:http://...
分类:数据库   时间:2015-01-28 15:58:37    阅读次数:207
2015-01-28
1.unity的平台依赖功能 http://edu.china.unity3d.com/learning_document/getData?file=/Manual/PlatformDependentCompilation.html http://docs.unity3d.com/Manual/Pl...
分类:其他好文   时间:2015-01-28 12:38:23    阅读次数:135
ZeroMQ接口函数之 :zmq_msg_close – 释放一个ZMQ消息
ZeroMQ 官方地址 :http://api.zeromq.org/4-2:zmq_msg_closezmq_msg_close(3) ØMQ Manual - ØMQ/3.2.5Namezmq_msg_close – 释放一个ZMQ消息Synopsisint zmq_msg_close (zmq...
分类:其他好文   时间:2015-01-27 12:58:17    阅读次数:173
curl命令+jq抓取json数据
jq使用文档:http://stedolan.github.io/jq/manual/举例:{"name": "han","age": "20"}curl -s -d 'user=aa&pass=cc' http://www.example.com | jq '.name' >> file.txtc...
分类:Web程序   时间:2015-01-27 10:42:01    阅读次数:161
inf -inf nam
http://www.gnu.org/software/libc/manual/html_node/Infinity-and-NaN.html20.5.2 Infinity and NaN IEEE754 floating point numbers can represent positive ....
分类:其他好文   时间:2015-01-25 20:55:07    阅读次数:240
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!