mongocDatabaseis_collection_exist本页总览is_collection_exist 判断指定名称的集合是否存在 声明 bool is_collection_exist(string coll_name) 参数 参数名描述coll_name集合名称 返回值 true - 存在, false - 不存在 使用方式 返回文档