✨ 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.
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
# 运行时 / 数据库事务
|
||||
|
||||
### `sqlBeginTrans(db_alias)`
|
||||
|
||||
开始一个数据库事务。
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
| ---------- | ------ | ------------ |
|
||||
| `db_alias` | string | 数据库别名。 |
|
||||
|
||||
返回:int
|
||||
|
||||
### `sqlInTrans(db_alias)`
|
||||
|
||||
检查是否在一个数据库事务中。
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
| ---------- | ------ | ------------ |
|
||||
| `db_alias` | string | 数据库别名。 |
|
||||
|
||||
返回:int
|
||||
|
||||
### `sqlRollback(db_alias)`
|
||||
|
||||
回滚事务。
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
| ---------- | ------ | ------------ |
|
||||
| `db_alias` | string | 数据库别名。 |
|
||||
|
||||
返回:int
|
||||
Reference in New Issue
Block a user