跳到主要内容

create_collection

创建一个集合对象

声明

object create_collection(string name)

参数

参数名描述
name集合名称

返回值

集合对象(pkg.mongoc.SessionCollection实例)

使用方式

返回文档