Fixed driver.Result description

driver.Result的RowsAffected函数返回执行Update/Insert等操作影响的数据条目数
This commit is contained in:
xmhealth
2020-08-06 21:37:06 +08:00
committed by GitHub
parent 5d43949b09
commit 7ab2e019ef

View File

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