Skip to content

Commit 97f42ba

Browse files
authored
Merge pull request astaxie#1148 from xmhealth/patch-2
Fix driver.Result description
2 parents 33ce7ee + 7ab2e01 commit 97f42ba

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)