跳到主要内容

start

启动服务

声明

bool start(map remote_cfg, map db_info, map collections, map para = {})

参数

参数名描述
remote_cfgmongo服务器(pkg.mongo_server)配置(参考pkg.remote_mongoc)
db_info数据库配置信息
collections数据库集合信息
para其它参数

返回值

true - 启动成功, false - 启动失败

使用方式

返回文档