remote_mongocRemoteCollectioncreate_index本页总览create_index 创建索引 声明 bool create_index(string key, bool is_unique = false) 参数 参数名描述key用来建立索引的字段is_unique该字段的值是否为唯一 返回值 true:成功;false:失败 异常情况(请求发送失败或者结果超时)返回false 使用方式 返回文档