Skip to content

Commit 7ab2e01

Browse files
authored
Fixed driver.Result description
driver.Result的RowsAffected函数返回执行Update/Insert等操作影响的数据条目数
1 parent 5d43949 commit 7ab2e01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zh/05.1.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ type Result interface {
128128
```
129129
LastInsertId函数返回由数据库执行插入操作得到的自增ID号。
130130

131-
RowsAffected函数返回query操作影响的数据条目数
131+
RowsAffected函数返回执行Update/Insert等操作影响的数据条目数
132132

133133
## driver.Rows
134134
Rows是执行查询返回的结果集接口定义

0 commit comments

Comments
 (0)