
Mongodb
文章平均质量分 68
艾莉欧
个人网站:www.shienh.com
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
linux 下安装mongocxx
1.安装之前先查看一下我所用linux内核版本和linux系统版本,所用CentOS linux版本为7.3.1611,此版本gcc支持c++11,故无需升级gcc 步骤1.安装mongoc驱动,安装方法见 将mongoc的.h文件路径 /usr/local/include/libbson-1.0 /usr/local/include/libmongoc-1.0 添原创 2017-08-05 09:49:04 · 3876 阅读 · 0 评论 -
CentOS7下mongoc安装,验证
简介 mongoc是MongoDB的C语音驱动 下载解压并配置 $ wget https://github.com/MongoDB/mongo-c-driver/releases/download/1.6.3/mongo-c-driver-1.6.3.tar.gz $ tar xzf mongo-c-driver-1.6.3.tar.gz $ cd mongo-c-d原创 2017-08-04 07:13:56 · 2816 阅读 · 0 评论 -
mongocxx基本增删改查操作
#include #include #include #include #include #include using bsoncxx::builder::stream::close_array; using bsoncxx::builder::stream::close_document; using bsoncxx::builder::stream::docum原创 2017-08-02 13:28:52 · 6158 阅读 · 1 评论 -
mongocxx 查询
查询一个文档 如何查询一个如下文档的所有值 { "name" : "MongoDB", "type" : "database", "count" : 1, "versions": [ "v3.2", "v3.0", "v2.6" ], "info" : { "x" : 203, "y" : 102原创 2017-08-15 17:01:11 · 1935 阅读 · 0 评论