Files
playbook/skills/tsl-api-reference/references/codegen/dotnet/runtime/db_transaction.md
T
csh e1f7ce052c feat(skills): add tsl api reference skill
Bundle the TSL API index and markdown references under the skill, route TSL docs to use it, and update the codegen index generator to maintain the bundled data.
2026-07-07 16:36:15 +08:00

643 B

运行时 / 数据库事务

sqlBeginTrans(db_alias)

开始一个数据库事务。

参数 类型 说明
db_alias string 数据库别名。

返回:int

sqlInTrans(db_alias)

检查是否在一个数据库事务中。

参数 类型 说明
db_alias string 数据库别名。

返回:int

sqlRollback(db_alias)

回滚事务。

参数 类型 说明
db_alias string 数据库别名。

返回:int