跳到主要内容

wait_for_writable

等待数据库直至可写

声明

bool wait_for_writable(string db_name)

参数

参数名描述
db_name数据库名称

返回值

true: 成功, false: 失败

使用方式

返回文档