跳到主要内容

commit

在事务中, 提交事务, 并打开自动提交

声明

bool commit()

参数

参数名描述

返回值

true: 事务正确提交, false: 事务无法提交

errors: 没有在事务中

使用方式

返回文档