mongocClientclient_get_or_create_collection本页总览client_get_or_create_collection 创建一个集合对象 声明 object client_get_or_create_collection(string db_name, string coll_name) 参数 参数名描述db_name数据库名coll_name集合名 返回值 pkg.mongoc.Collection实例 使用方式 返回文档