Migrate reference pages to declaration-line storage and rebuild the 13-column index. Add qualified member lookup plus regression and end-to-end coverage.
34 lines
670 B
Markdown
34 lines
670 B
Markdown
# Builtin - 资源 / 数据库
|
|
|
|
## `sqlCommnit(db_alias)`
|
|
|
|
声明:function
|
|
|
|
提交事务。
|
|
|
|
| 参数 | 类型 | 说明 |
|
|
| ---------- | ------ | ------------ |
|
|
| `db_alias` | string | 数据库别名。 |
|
|
|
|
返回:any
|
|
|
|
## `sqlErrorMsg()`
|
|
|
|
声明:function
|
|
|
|
返回最近出错的SQL语法执行的数据库出错信息。
|
|
|
|
返回:string
|
|
|
|
## `sqlCloseConn(db_alias)`
|
|
|
|
声明:function
|
|
|
|
主动关闭指定别名的数据库链接或者关闭所有数据库链接。
|
|
|
|
| 参数 | 类型 | 说明 |
|
|
| ---------- | ------ | ---------------------- |
|
|
| `db_alias` | string | 数据库别名,可选参数。 |
|
|
|
|
返回:integer
|