跳到主要内容

create_session

创建一个会话对象

声明

object create_session(string db_name)

参数

参数名描述
db_name数据库名

返回值

pkg.mongoc.Session实例

使用方式

返回文档