腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
1
回答
启用
分片
mongocxx
、
、
、
我想知道如何使用
mongocxx
3.1.3 (Mongo C++驱动程序)执行这些命令:sh.shardCollection("YourDB.YourCollection
浏览 10
提问于2018-03-02
得票数 1
回答已采纳
1
回答
Mongocxx
库分割故障
、
、
、
database,{ {
mongocxx
::client conn(uri); // seg fault occurs here
mongocxx
::database db = conn[database];
mongocx
浏览 3
提问于2020-09-28
得票数 1
回答已采纳
1
回答
如何抑制
mongocxx
(c++)中的场?
、
、
、
、
我想知道在
mongocxx
驱动程序(c++)中,以下代码的等效性是什么?
浏览 8
提问于2017-09-26
得票数 1
回答已采纳
1
回答
Mongocxx
:如何反向显示文档
、
、
、
我正试图反向显示一个集合的文档。在shell中,可以通过使用以下命令来完成这一任务:在文档中,我找到了这个函数:/// The order in which to return matching documents. If $orderby also exists in the modifiers /// document, the sort field takes precedence ove
浏览 2
提问于2016-11-04
得票数 1
回答已采纳
1
回答
MongoDB C++:
mongocxx
::池线程安全吗?
、
、
、
在获得连接时,我必须手动锁定
mongocxx
::池吗?
mongocxx
::instance instance{}; auto threadfunc = [](
mongocxx</e
浏览 2
提问于2017-01-04
得票数 4
回答已采纳
1
回答
使用
mongocxx
列出数据库的所有集合。
、
我一直试图提取数据库中所有集合的列表,并试图使用:但不能在集合中迭代。
浏览 0
提问于2017-10-16
得票数 0
回答已采纳
1
回答
CMake包含目录别名
、
我已经在Ubuntu上安装了
mongocxx
驱动程序,但是在包含头文件时出现了问题。#include <
mongocxx
/client.hpp> // Error#include <bsoncxx/v_noabi/bsoncxx/builder/
浏览 17
提问于2019-04-02
得票数 0
1
回答
如何结合行内命名空间和PIMPL成语使用
mongocxx
?
、
、
、
我想使用PIMPL成语为
mongocxx
编写一个接口。接口本身可以工作,但我在
mongocxx
内联名称空间中做了一些错误,因为编写测试不起作用。这是一个最小的例子:#pragma once{ namespace v_noabi/3.5.0/build/install/include/
mongocxx
/v_noabi/<e
浏览 6
提问于2020-05-29
得票数 2
1
回答
查找中ObjectID的
Mongocxx
数组
、
我试图使用
mongocxx
驱动程序填充对C++的查询。include <iostream>#include <bsoncxx/json.hpp>#include <
mongocxx
/client.hpp>#include <
mongocxx
/
浏览 1
提问于2017-05-03
得票数 1
回答已采纳
1
回答
将
mongocxx
连接到mongodb服务器时出错: SSL支持不可用
、
、
、
使用
mongocxx
3.3或mongo cxx3.4稳定版本,我正在尝试连接到mongo atlas实例。这是我的基本代码:#include <
mongocxx
/instance.hpp>
mongocxx
::instance inst{};
mongocxx
::uri uri =
mongocxx
::uri("mongodb+srv://...&q
浏览 54
提问于2019-07-11
得票数 2
回答已采纳
1
回答
无法编译mongo驱动程序
、
、
MONGOCXX
_LIBMONGOC_SYMBOL(client_pool_set_ssl_opts)/home/sam/downloads/mongo-cxx-driver/src/
mongocxx
31:63: note:#define
MONGOCXX
_LIBMONGOC_SYMBOL(Scanning dependencie
浏览 5
提问于2015-10-03
得票数 1
回答已采纳
3
回答
Qt应用程序中MongoDB C++驱动程序稳定的分支崩溃
、
、
、
、
::uri{
mongocxx
::uri::k_default_uri};
mongocxx
::pool()(
mongocxx
::log_level,
mongocxx
::stdx::string_view,
mongocxx
::stdx::<
mongocxx
::instance>(
mongocxx
浏览 5
提问于2018-01-11
得票数 1
1
回答
如何使用
Mongocxx
将集合加入到文档中
、
、
、
、
我有一个名为“main”的文档(或集合,看哪一个最适合得到解决方案): "field1":"value1",}//document 1 "foreignKey":1,} "foreignKey
浏览 0
提问于2018-08-15
得票数 1
2
回答
使用事务时MongoDB错误:所有事务操作的总大小必须小于16793600。实际大小为16793810:一般服务器错误
、
、
/client.hpp>#include <
mongocxx
/exception/exception.hpp>#include <
mongocxx
/exception/operation_exception.hpp> int m
浏览 0
提问于2019-08-07
得票数 1
回答已采纳
1
回答
如何使用mongo cxx驱动程序检索特定字段的值
、
假设,我使用mongo命令行或shell插入了以下文档: { "user name" : "Joe", "Facebook" : "aaa", })
浏览 0
提问于2016-08-23
得票数 2
回答已采纳
1
回答
Mongocxx
-驱动程序在安装过程中不会构建
、
我正在学习http://
mongocxx
.org/
mongocxx
-v3/installation/的教程。\
mongocxx
.vcxproj" (default target) (5) -> D:\mongo-inst\mongo-cxx-driver\src\build\src\
mongocxx
\
mongocxx
.vcxproj] "D:\mongo-inst\mong
浏览 17
提问于2019-08-27
得票数 0
回答已采纳
1
回答
使用
mongocxx
-driver时包含头文件问题
、
、
我见过这种包含文件#include <
mongocxx
/client.hpp>#include<
mongocxx
/uri.hpp>#include <bsoncxx/builder/stream/document.cpp> #include <bsoncxx/jso
浏览 1
提问于2018-11-01
得票数 1
1
回答
当插入对象内的集合时,Mongodb c++崩溃
、
我正在使用
mongocxx
驱动程序,并试图在集合中进行基本的插入。但是,如果我将db和集合实例放入对象中,则插入将在运行时崩溃。/instance.hpp>#include <
mongocxx
/client.hpp>#include <
mongocxx
/uri.
浏览 0
提问于2016-10-19
得票数 1
回答已采纳
1
回答
我有json格式的数据,并希望将其转换为csv。
、
、
、
#include <bsoncxx/builder/stream/document.hpp>#include <
mongocxx
/client.hpp>#include <fstream>#include <string> using namespa
浏览 2
提问于2020-08-17
得票数 0
回答已采纳
1
回答
Mongocxx
change_stream回调
、
、
我有一个进程正在监视mongo,需要在对表进行更改时通知它。查看文档,我看到changestream对象有迭代器,但我没有看到回调的选项。是否有办法处理这一问题和/或是否有任何好的例子可供利用?
浏览 2
提问于2021-08-13
得票数 2
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
分片技术
mongodb分片
Mongdb分片
初识MongoDB分片
分片技术分析
热门
标签
更多标签
云服务器
ICP备案
腾讯会议
对象存储
云直播
活动推荐
运营活动
广告
关闭
领券