Merge pull request #1148 from xmhealth/patch-2

Fix driver.Result description
This commit is contained in:
astaxie
2021-01-15 23:18:15 +08:00
committed by GitHub

View File

@@ -128,7 +128,7 @@ type Result interface {
```
LastInsertId函数返回由数据库执行插入操作得到的自增ID号。
RowsAffected函数返回query操作影响的数据条目数。
RowsAffected函数返回执行Update/Insert等操作影响的数据条目数。
## driver.Rows
Rows是执行查询返回的结果集接口定义