码迷,mamicode.com
首页 >  
搜索关键字:mongodb bulk write    ( 25189个结果
mvc使用mongodb时objectId序列化与反序列化
前面有写使用自己的mvc 序列化工具即jsonNetResult。我这里结合之前写的jsonNetResult来做一个Json序列化工具,并且序列化ObjectId成一个字符串。具体代码如下 using System; using System.IO; using System.Text; using System.Web.Mvc; using Aft.Build.Common; using N...
分类:数据库   时间:2014-08-14 14:07:28    阅读次数:705
在新浪云SAE中使用smarty引擎模版
在新浪云上使用smarty时会发现又这样的错误信息: “SAE_Fatal_error: Uncaught exception 'SmartyException' with message 'unable to write file ./web/templates_c/wrt4e9555528...
分类:其他好文   时间:2014-08-14 13:54:08    阅读次数:1017
实习以来 唯一一次 没有因需求变更 代码被改面目全非的一次(期待各位对代码细节提提建议)
according the source and template to genetate bulk file.(there is four type diff source and template now.) 1 using System; 2 using System.Collec...
分类:其他好文   时间:2014-08-14 13:39:28    阅读次数:258
Center OS mongodb安装
一、下载 1、#cd /usr/local/src 2、#wget http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-2.4.8.tgz二. 解压文件到某目录下,然后重命名: 1、# tzr -xzvf mongodb-linux-x86_.....
分类:数据库   时间:2014-08-14 10:30:08    阅读次数:223
python+sqlplus
importos fromsubprocessimportPopen,PIPE sqlplus=Popen(["sqlplus","-S","andy/root"],stdout=PIPE,stdin=PIPE) sqlplus.stdin.write("selectsysdatefromdual;"+os.linesep) sqlplus.stdin.write("insertintot_pythonvalues(1,‘chenlong‘);"+os.linesep) sqlplus.stdin.wr..
分类:数据库   时间:2014-08-14 04:00:48    阅读次数:345
How to Write Go Code
How to Write Go Code Introduction This document demonstrates the development of a simple Go package and introduces the?go tool, the standard way to fetch, build, and install Go packages and comman...
分类:其他好文   时间:2014-08-14 01:40:48    阅读次数:653
UNIX网络编程-recv、send、read、write之间的联系与区别
1、read-----------------------------------------------------------------------#includessize_tread(intfd,void*buf,size_tnbyte);-------------------------...
分类:其他好文   时间:2014-08-14 01:10:47    阅读次数:362
javascript中的后退和刷新
后退+刷新在C# Web程序中,如为页面按钮写返回上一页代码this.RegisterClientScriptBlock("E", "");其中,history.go(-2),要写为-2,因在按钮事件触发前,已刷新一次页面,所以应是-2。Response.Write("");此处也要写为“-2”。....
分类:编程语言   时间:2014-08-14 01:10:17    阅读次数:304
mongoDB的基本使用----飞天博客
Mongo的介绍:这个mongoDB官网说的好啊,MongoDB是一个开源的基于document的数据库,并且是NoSQL数据库的领导者,而且它是用C++写滴哈,很有效率,一些什么特点呢? 全索引支持,可以索引任何属性 复制和高可用性,可以在局域网和广域网扩展 自动分享,能线性伸缩而不影响他的功能 查询,丰富的查询 快速更新 Map/Reduce GridFS MongoDB Ma...
分类:数据库   时间:2014-08-13 22:27:27    阅读次数:325
ftp服务器显示500 oops cannot change home/harry解决方法
linux6.0搭建ftp服务器,ftp服务器配置操作如下:#yuminstall–yvsftpd#chkconfigvsftpdon#servicevsftpdstart#vi/etc/vsftpd/vsftpd.conf修改anonymous_enable=YESlocal_enable=YES增加行:anno_root=/var/ftp/pub/anno_other_write_enable=yes#vi/etc/hosts.deny添加一行:vs..
分类:其他好文   时间:2014-08-13 19:30:28    阅读次数:288
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!