Fixed driver.Result description
driver.Result的RowsAffected函数返回执行Update/Insert等操作影响的数据条目数
This commit is contained in:
@@ -128,7 +128,7 @@ type Result interface {
|
|||||||
```
|
```
|
||||||
LastInsertId函数返回由数据库执行插入操作得到的自增ID号。
|
LastInsertId函数返回由数据库执行插入操作得到的自增ID号。
|
||||||
|
|
||||||
RowsAffected函数返回query操作影响的数据条目数。
|
RowsAffected函数返回执行Update/Insert等操作影响的数据条目数。
|
||||||
|
|
||||||
## driver.Rows
|
## driver.Rows
|
||||||
Rows是执行查询返回的结果集接口定义
|
Rows是执行查询返回的结果集接口定义
|
||||||
|
|||||||
Reference in New Issue
Block a user